Hi there,
Is there any way to get the automation to just look for text on screen. by which I mean look for text that equals "MYTEXT" anywhere on screen rather than look in approot/container[1]/container[2]/container......./text="MYTEXT"
I suppose in a nutshell, a non-repository based comparison
Thanks
M
text matching
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: text matching
Hi,
If I got this correctly you could use a RxPath similar to this one: "YourRootElement//*[@text='MYTEXT']"".
This will find all elements with a text property set to the specific text in your application.
For more information about the RxPath please take a look at the following links:
RanoreXPath, RanoreXPath – Tips and Tricks.
Regards,
Markus
If I got this correctly you could use a RxPath similar to this one: "YourRootElement//*[@text='MYTEXT']"".
This will find all elements with a text property set to the specific text in your application.
For more information about the RxPath please take a look at the following links:
RanoreXPath, RanoreXPath – Tips and Tricks.
Regards,
Markus