How to click changing file name from browser

Hi all
How to click and download all available reports shown on browser? The report name and the number of reports keep changing everyday.

@nancy.tang

Use Data scraping Activity to scrape the data and will give you output as DataTable and then use ForEach Row Activity to iterate that DataTable.

ForEach row in DT
  - use Click Text Activity and pass row("Report Name").Tostring

Thanks Lakshman.
Data scraping works, but click text failed. Error

1 Like

@nancy.tang

You passed wrong ColumnName here. It should be like this.

             row("Report Name").Tostring

Appreciate your help. It works now…Yeah…

1 Like

Hi Lakshma
I have another issue similar to this. I use data scraping + for each
However i keep getting this error.



Hi @nancy.tang
You can try using index value as well.
E.g. row.item(3).toString
Hope this will work for you.
Thanks

Add this to for each?

Yes.
Instead of row(“ORDER NUMBER”). toString
Add row.item(3).ToString

Thanks.

1 Like

Thanks, it works

1 Like

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