RXPath grouping operators filtered out in Ranorex Repository

Bug reports.
mrusso
Posts: 16
Joined: Thu Feb 03, 2011 12:54 am

RXPath grouping operators filtered out in Ranorex Repository

Post by mrusso » Mon Aug 22, 2011 7:14 pm

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.

User avatar
Support Team
Site Admin
Site Admin
Posts: 11710
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: RXPath grouping operators filtered out in Ranorex Repository

Post by Support Team » Tue Aug 23, 2011 1:00 pm

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
.
Image