How to click particular row link buttons in html table based on row input

Hey @acaciomelo the user asked selectors with row input, where do you feed the input?

1 Like

Hi @vvaidya,

I just gave an idea on how to iterate between the elements inside this table. He will decide which approach he is going to follow.

1 Like

Ok, Understood.I was just trying to figure out where can we inject aaname or innerhtml in your process?

@acaciomelo also want to know how to distinguish between enabled and disabled button before making a click as I don’t see any difference in explorer properties, I ended up checking an image.


1 Like

Nevermind @badita 's post helped

I can run disabled property at run time which returns disabled or 0 (if enabled)

1 Like

Hi @vvaidya,

Besides that, I believe that you could use a LINQ function to extract the elements according to the values in the aaname or innerhtml property with the following code:

Variables declaration:




Great!! Thanks for the tip.

1 Like

@acaciomelo Thanks!! this code was helpful in resolving a dynamic selectors issue today.


Awesome, I’m glad to hear that! :grinning:

I tried to above example for the same chart table, but not working . could you explain the steps

Hey i have applied the same method to a table which follows pagination, but it’s not working.
Could you help me ?.
Thanks in Advance.

Can you attach the sample? It’ll be helpfull for reference.


Hi @Shansun ,

This is an old example and I am pretty that I have already deleted it.

Anyway, please try to follow the steps below:

  1. Open the URL and use the Attach Browser activity
  2. Inside it, use the Find Children activity and select the parent element that you are trying to get the elements (it will be necessary to create an array of Ui.Core.Element type if I’m not wrong, just press Ctrl + K in the Children property)
  3. Use a For each activity to iterate those elements and the Highlight activity to help you identifying the elements.

In addition to that, try changing the property Scope to Children OR Descendants and test it until you are able to find the necessary elements. Some times it’s need to use one or more Find Children activities in order to find the proper child element.

Please give it a try and let us know the results :grinning:

Thanks @acaciomelo for quick reply. Will let you know once I get the correct output!

I tried your solution, but when i wanna assign “selectorToClick” i cannot find “.Selector.ToString”, could you please give me some advice?

Hi , I need to click a link from a table. The table has only one row and the first item in the row is a link say “10033” is a link and i need to click that. Could you please help me in achieving that.

Hi Guys,
i have attached one html table , in that table i need to check first Confirmation statement and Annual return description names based on that i need to download pdf from view pdf link …plese help me iam new to ui path

You have to scrape html table with 3 columns along with href of Pdf document and check description column for confirmation statement.
if Description column contains Confirmation statement, using get the pdf document link of that row to access Pdf document and Save it.


Hi All

I have similar scenario which requires - link present in the web table be clicked , im trying above steps like -
-Do a data scraping
-iterate through web table
-find children with filter - kept as -
-use for each to iterate through list values
-trying to do get attribute using “resassignid”
-use message box to display the resassignid value.

Result - empty message box is returned

Any hints are welcome thanks in advance :slight_smile:

Can you please provide the Xaml File ?? Thanks in advance :slight_smile:

Variable item is defined as Object. Change it to UiElement.