clickabovebytext
Last updated
Last updated
This action will click on a clickable element based on a text elsewhere in the screen. This can be usefull for actions in table for example. Here we click on on element above a text visible on screen.
Property
text
text display on the screen or text1|text2 with text1 display on the screen and text2 for the text of the object (ex:button).
Parameter
empty
If just one text in the property, click on the first clickable element above the text.
If two parameters, we search for text1 and click on the first clickable element above text1 and containing text2.
If we use http://automationpractice.com/index.php, we have an image above a text we can click on:
If we use clickabovebytext with property='Blouse', it will click on blouse image.
We can also use context keyword to manage duplicated text. For example, if we use the action clickabovebytext with Property="Printed Dress|context=$26.00" it will click on the image above Printed Dress in the context of "$26.00" .