I am using Universal Web adaptor (chrome), and have interrogated a HTML table. I have automation to loop thro' the table rows, and based on specific conditions for values in a given set of columns, I'll have to click on a link in that row - the link will always have a fixed text value, and its not an anchor (a) element, but a "U" element. I tried using ClickChildByText, but it always fails. I'm attaching a snapshot of the code snippet where I extract the cell proxy and use clickchildbytext - this is after all the conditions match. ClickChildByText always returns false now.
***Edited by Moderator Marissa to update categories***
Can you post an image of the control created by interrogating the link that you are clicking on?
If you have not individually interrogated the link control, I would suggest that you do so. Since you are looping through the rows, then you can implement a Clone control (where the control for the link will match all the corresponding links on the table) approach to click on corresponding row by passing either an index value or a key value. You can find more details about clone controls in this link:
Lopec, I tried interrogating the control as clones as well - interestingly, it comes outside the table control, and not under it in the hierarchy. However, when looping tho' the clones - the order is different from the order of rows. So for instance, if I want to click the link in the 2nd row of the table, it does not correspond to the 2nd clone.