I have multiple rawtexts in some window, many of them having the same value. I want to make xpath expression allowing to refer a text on the basis of its window position.
For example I want refer a rawtext located in a box with relative coordinates x=10;y=50;width=40;height=10
locate rawtext in some rectangle
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: locate rawtext in some rectangle
Hi Boris,
You can use the following RxPath for relative coordinates:
For more information about the RxPath please take a look at the following link: RanoreXPath.
Regards,
Markus
You can use the following RxPath for relative coordinates:
Code: Select all
./rawtext[cx()=10 and cy()=50 and width()=40 and height()=10]
Regards,
Markus