I wonder if any of you had similar situation. In a web form I have table with 2 column and few rows and it looks something like this:
LINK ID
Link 1
Link 2
Link 3
I have this id value in a variable and I want to click link based on this variable. For example if value of id is 3 I need to click third link which is left of id 3.
Tried with anchor base, find relative item but cant make it work. If you have any ideas please share it.
Thanks for your message. Sorry but i don’t think this tutorial can help me with this specific problem. It’s much more complicated than that, because first column with links are the same, second column holds value (11 digit number). I have variable that holds value of id, but how do i find it and click button left to it. Please see pic
@sumi
in scenario like yours we do benefit much from this as described in the link.
with id information the relevant row can be found
then click on the select button within the row is executed
In case of you need further then please share some more details on the datarow (tr) / datacolumn (td) structure with us (e.g. screenshot from Browser F12 Tools)
@ppr Thank you so so so much. This is exactly what i was looking for. Perfect. Had to use anchor but finally made it work. At first it seemed like it has nothing to do with my problem, but i was wrong, good thing that you gone extra mile to make me realize it.