Click on Link to Download files

Hi all,
I was reading post (Download Files - #3 by Pablito) to resolve, got closed but did not finished the solution.

Scenario:
I have a Form online (ASP) where one of the Columns has wrapped inside of it the links to download the ‘Attachments’ that I need to save into any folder. No attributes inside the ‘Selector’ such as Row or Column that would increment in numbers of files that I can use as a loop. I do have a ‘innertext’ and ‘aaname’ that shows the ‘Link Files names’ but I have not been able to separate them after reading the Selector value.

Help on:
How to tell the robot to click on each one?.
-Somehow it means using a loop for the solution but can’t figure that out yet.

image

image

Regards,

You can use Find Children activity to get all download link elements then use For Each acitivity to loop and perform Click each link.

1 Like

Hi
Can I have a view on the whole web page like how the input looks like

Because we can increment the index of attribute and try accessing The field and the value

Or with find children we can get the descendants and get the attribute value with Get Attribute activity inside a for each

Cheers @MARIODC

Thx @Kiepnt, I’ll give it a try now!

Thx @Palaniyappan,

I can’t really share the web otherwise I would have done already jeje. I’ll try now both suggestions about the ‘Find Children Activity’, sounds good guys!

Hi @kiepnt,

Thanks, It helped me to get to the children or ‘aaname’. I can’t really loop through them since I got an individual long String with all names of the links separated by ‘spaces’ which is the problem now.

There are key words at the end of every file name such ‘.pdf’ or ‘.xlsx’

Any ideas to still get every link separate?

Regards,

Hi @Palaniyappan ,

Thanks, It helped me to get to the children or ‘aaname’. I can’t really loop through them since I got an individual long String with all names of the links separated by ‘spaces’ which is the problem now.

There are key words at the end of every file name such ‘.pdf’ or ‘.xlsx’

Any ideas to still get every link separate?

Regards,

1 Like