How to find and click all the anchor tag links in a table?

I need to find all the anchor link in a table and click them how to do this in UiPath ? can anybody guide me through this ? waiting for your help .

Hi @Prabhakaran_Elango

Happy new year !

You can use find children and extract datatable activity

Steps : use extract datatable activity make the output at dt1 and use for loop

You can build dynamic selector use tags

Make sure you use rowindex

Hope it works for you

If you find well please mark this as a solution. Thank you

Hi @Prabhakaran_Elango

Use Find Children activity- inside the target
You can Indicate the table and apply Filter
Scope: Descendants and Type: UiElement
Output β†’ linksList (Type: IEnumerable)

You can Filter only anchor tags then Use For Each activity , TypeArgument: UiElement and Value: linksList
Then Inside For Each you can Use Get Attribute and Attribute: tag
If tag equals β€œA” β†’ it’s an anchor link
Then Click each link
Use Click activity
Indicate β†’ CurrentItem

If solution works for you please mark as solved so it’s help other too

Cheers

You can refer below threads.

1 Like

@Prabhakaran_Elango

What fo you mean by anchor links? Is it that each line contains a link?

If so use extract table data will extract the urls as well..you need to loop and use navigate browser or go to url activities

Cheers

1 Like