You can use Element exists activity also to check if the enabled button is exists or not.
You can use this activity with re-try scope by giving
RetryInterval - Specifies the amount of time between each retry.
You can compare the timestamp “received time” to check which is latest one.
Oh I never thought of that.
But what if I have many reports with different names?
Can I pinpoint which report to download first using ‘click’ activity?
Example:
Report A - Received time: 8:00AM Completed Time: 8:03AM Download - greyed out
Report B - Received time: 8:00AM Completed Time: 8:02AM Download - Available Blue
Script
Do
If(Download button greyed out)
loop ‘checking’
else(click ‘Available Blue’)
You can use the “Click” activity to pinpoint which report to download first based on specific criteria such as the status of the download button or the attributes of each report.
I would suggest use click activity & check the selector of different elements, if you can spot the difference between 2 buttons. You will idea to get it done using these conditions.