I created a data table named ExtractDataTable2 now this table has values in column User and I want to click on web the hyperlink bind to the username in data table . I applied a for each loop and trying to click text but it is not working
Attached screenshot for reference , please suggest what can be the way around .
There can be multiple users and I need to click each user 1 by 1 .
From what I understood, what you want to do is, to get each user from the user column of your datatable and do some clicking/ processing based on the selected user.
Using the For each row is fine… In order to select the user in a For Each Row, you can do something similar to this…
ForEach → Row in ExtractDataTable2
You can use
Row("User").ToString
Below is a sample which I was working on few days back…
This way, you don’t need to specify the index… It will automatically get the value from the column by looping through the datatable.