I was working on the RPA advanced exercise to generate the monthly report, I am facing an issue with the selecting the month from the drop down. I am able to select the first month and it is running fine , but none of the other months are running from the dropdown. I have debugged and did not find anything weird. Also earlier it seems to be working fine but now it has stopped working.
Can you please look into it and help me with the same.
I am attaching my xaml file, I have hardcoded some of the values for testing.
Create one String array variable and assign all months to it. And then use loop to itreate one by one month and inside this loop use two Click activities. One is for clicking drop down menu and another one is for selecting item from list. For second click activity, make selector dynamic by passing String variable into it. aaname attribute value should be like this:
@Chetan1809
You are using two activity to select value in drop down…1)click button 2) click span
Instead of this use select item activity
1)use select Item activity target should be like that <webctrl idx='1' parentid='searchForm' tag='SELECT' />
month should be string array .value will be {“January”, “February”,“March”, “April”, “May”, “June”, “July”, “August”, “September”, “October”, “November”, “December”}
for reference
don’t forget to attach browser activity at top of the activity