How to get the HTML data from a datatable and click on a particular data

datatable
click
web

#1

Hello everyone,

I am trying to read all the information from a table in a webpage and I need to create some validation to click on a particular data of the datatable.
I just need to figure out how to get the html data and the information to create the validation and know the html data to click on the validated element.

Thank you.


#2

Hello,

You can use Get Attribute activity to get the innerHtml attribute or you can try the Find Children activity to iterate through the UiElements of the table which gives you access to their Selector, which you can then use for the Click activity. Check out this thread for more info:

If the table has multiple pages it gets more complicated since you basically have to do the navigation yourself but this can be done as you have access to the table and next page button elements.