I am trying to search for a Text on a web page and click an associated Hyperlink. Can someone suggest what technique can be used?
You can try Anchor Base activity
In that on left side u can use find element
And on right side use click on that hyperlink
In selector make it dynamic so that u can use a variable in selector and in that variable your text eill be set
1 Like
If the text you are looking for is inside the hyperlink you just need to add a click activity and you this selector:
if the text is not inside the hyperlink, but in another element, you need to find the element using this selector:
and understand how does it realates to the the hyperlink to create the anchoring logic.
“Get Ancestor” and “Find Children” activities might be usuful for creating your own anchoring logic.
1 Like