Level 3 Assignment 2 - Invalid selector in click activity

Hi

I am struggling with the selector for the click activity in the “Upload Yearly Report” Process. Everything up until there seems to work flawless.
It fails to select the year in the drop down list.
image .

My Selector is as follows:

The error I am getting is:
image

Please help. I have tried removing the “.ToString”. I dont know how to fix this selector.

@JCWolf Use 2 clicks, One for displaying dropdown box of years and other for selecting Specific year from that drop down box.

@JCWolf you can use multiple ways to fix it:

1- you can use select item activity
2- you can use type into and press enter
3- you can use click activity on the arrow mark then use click text.

1 Like

Try this Selector-

<html title='ACME System 1 - Reports - Upload Yearly Report' />
<webctrl aaname='"+in_Year+"' parentid='searchForm' tag='A' />

4 Likes

Thank you - Worked perfectly.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.