If it is structured data then use Data Scraping to scrape data and will generate output as āDataTableā. And then use For Each Row activity to iterate that data table.
Itās dynamic data table having multiple links, I mean when we click on the link it will open new window and download the pdf bill and it save automatically in ādownloadā folder. But, I wanted this to be automated and save thru UiPath control. Do we have any control like" Click download link on web page and save desired location as per our choice ? Looking forward to hearing from the expertise ā¦
It looks like structured data only. You can use data scraping activity to scrape data and if it contains multiple pages then indicate next page navigator like > or page number etc⦠It will give output as dataTable and then use For Each Row activity to iterate that DataTable.
ForEach row in dataTableName
Use Click Text activity and pass row(āPDFā). Tostring
Kindly use find children activity and then for each child
for each loop perform click activity and once it saves into the local downloads folder
pick only the .pdf extension files using this
tory.GetFiles(āfolder pathā,ā*.pdfā)
You can get the count of number of links(n) present, through data scraping.
Iterating in while loop for n number of links, you can use Click Activity and make the selector a dynamic one⦠most likely through counter variable⦠which will click on all the links one by one.
You can save the file by passing the path and do further operations.
Please let me know if you have any further queries for the same.