Assignement 2 - Generate Yearly Report

Hi

I am currently just trying to dynamically select first Year and then Month from the respective drop downs available on https://acme-test.uipath.com/reports/download

But I am stucked at first point, to select year.

I am able to successfully click on small arrow which opens Year list.

Next I did is datascrap the years inside the dropdown and save it in a Datatable.

Then I added a For each Row loop to iterate each row (containing year info) on by one, and click on it.

So, this is first strategy:

And in this Click activity, I added below selector

webctrl aaname=‘201*’ parentid=‘searchForm’ tag=‘SPAN’ (removed < >, as it was not allowing to be added here in this post)

Note "201* was done so that year becomes generic to handle both 2018 and 2019.

Now, when I run it, it is not clicking any year.

When above was not working, MY second strategy was to add “Select Item” activity

In this again I added above selector and in Item I passed row(0).ToString which contains the year, as shown below:


But again it is not working

Can you please suggest correct approach ,

Regards
Ankit

hope this would help you

Cheers @ankswe