I need to download a report from we application form multiple lines

i am using a web application to generate a pdf report throw clicking on a line to download it. what i have done is to click on one line and download it successfully. what i need now is to download more than one reports from different lines as shown in the photo how can i do this


as shown, there is two lines the first part is done to click on the first line. but only the first one how to make it dynamic.

@mohamed.saty2012

Use For each uielement activity and then use click and download the pdf’s

Hi @mohamed.saty2012 ,

When you using selectors add the row count and then make row count as dynamic with variable,
then try in loop till the last one

Hi @mohamed.saty2012

Can you share the screenshot of the selector properties. According to that I can help you out.

Regards

SyntaxEditor Code Snippet

SyntaxEditor Code Snippet

@mohamed.saty2012

Could you send the whole screenshot of UI Explorer.

Regards

@mohamed.saty2012 ,try to use iD instead of going with CSS selector , beacuse CSS selectors might get change based on web behaviour the try to pass the dynamic value in row count

i have used for each ui element


also i have made the selector dynamic as shown
image
for mor info when i click on the first link another page open after downloading the file i make the robot return to the pervious page put it select the first line again
what should i do

@mohamed.saty2012

You need not edit the selector directly in click you can pss currentelement as input element

Cheers

the problem was at the fuzzy selector once i remove all other selectors the strict selector works fine thanks you all for your help and support i am really appreciated it.

Data Scraping → Output: DataTable variable ‘ReportLinks’

For Each Row in ‘ReportLinks’
Assign → ‘CurrentSelector’ with dynamic selector based on row data
Click → Selector: ‘CurrentSelector’
Wait For Download or handle download dialog
// Optional: Rename and move downloaded file if necessary
Next Row

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