Question
how to perform click on an anchor tag which is in a table
hi team,
i have a situation where a html table consists of an anchor tab which changes dynamically i.e. if i interrogate the anchor tag directly then it is of no use when i run the automation for second time.
what i did was i have interrogated the table in the web application with the help of html table design and now i want to do perform click method on the anchor tag which is present inside the cell of the table.
i am not sure how to do perform click on the anchor tag that is inside the cell of the table. please guide me on that.(i have uploaded the screenshot, in the screenshot i want to click on ganaRPA7777 which is an anchor tag, it is an invoice number which changes dynamically but the cell in which the invoice anchor tag is present will be the same).
Thanks!
Suresh.
***Updated by moderator: Lochan to add Categories***
When you interrogate the tag, make sure to use a generic enough match rule that it will match all instances of it on all rows. If there are no other anchor tags in the row, you could use a text match rule with a RegEx of ".*".