Page 1 of 1

RXPath grouping operators filtered out in Ranorex Repository

Posted: Mon Aug 22, 2011 7:14 pm
by mrusso
When using the Ranorex Spy, I can put parentheses inside an RXPath expression to adjust the order of operations for an evaluation.

For example, this would select a TdTag element with innertext "Name" and with a class of either "c1" or "c2":
//td[@innertext='Name' and (@class='c1' or @class='c2')]
Without the parentheses, it would match either any TdTag element with innertext "Name" and class "c1", or any TdTag with class "c2".

It works as expected in Ranorex Spy, but if I try to use this RXPath in the repository in Ranorex Studio, it filters out the parentheses grouping operators. The expression would then mean something very different.

Since Ranorex Spy works properly, I assume this is simply a problem with the syntax checker used for the RXPath in Ranorex Studio.

Re: RXPath grouping operators filtered out in Ranorex Repository

Posted: Tue Aug 23, 2011 1:00 pm
by Support Team
Hi,
mrusso wrote:Since Ranorex Spy works properly, I assume this is simply a problem with the syntax checker used for the RXPath in Ranorex Studio.
Thank you for posting us the limitation/bug, we already fixed this bug and we will release a fix with Ranorex 3.1

Regards,
Peter
Ranorex Team