RxPath with # instead of @id causing issues in FF 60.1

Bug reports.
User avatar
Posts: 374
Joined: Tue Aug 10, 2010 3:23 pm
Location: Toronto, Ontario, Canada

RxPath with # instead of @id causing issues in FF 60.1

Post by Aracknid » Mon Aug 13, 2018 7:01 pm


I've started testing with FF ESR 60.1 and Ranorex 8.2, and had a bunch of issue with RxPath's that have # instead of @id=.

It cannot find the items if there is a # in the RxPath.

I was using Ranorex Spy and had it open to my DOM. I edited the RxPath by appending a known path and it couldn't find the object. If I changed the # to @id=, it would work.

More specific info:

Code: Select all

This is the original RxPath (couldn't find the item):

This is the modified RxPath (could find the item):

Here's how it's being used in my code:

'oParent As Ranorex.Core.Element = Nothing
'oParent  is set to this path = "/dom[@domain='vmtabld1800:8000' and @caption='MyProgram' and @page='uiBrowser.aspx']//iframe[#'contentb0089477065d4463a5be3f19c3a3a6da']"

Dim MyControl As Ranorex.Unknown = Nothing
MyControl = oParent.FindSingle(sRxPath, 120000)
If I use Ranorex SPY and select the parent object in the Spy Tree and modify the RxPath by adding original RxPath I'm looking for to the end, it will not find it. If I use the modified RxPath I'm looking for it finds it.

BTW: It is not timing out. It takes about 30 seconds to find the object.

I even tried to simplify it down to just trying to find the first item in the RxPath (//div[#'Master_IdDivContainer']) and it cannot find it unless I replace the # with @id=.

I know you have had issue with iFrames in the past with FF, so I'm not sure if this is a factor.


User avatar
Support Team
Site Admin
Site Admin
Posts: 12169
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA

Re: RxPath with # instead of @id causing issues in FF 60.1

Post by Support Team » Tue Aug 14, 2018 11:23 am

Hi Aracknid,

May I ask you to create a new support query using our online form?
This would help us to analyze this issue in detail or arrange a remote session with you.
Please also attach a Ranorex Snapshot to the query.


Posts: 12
Joined: Tue Jul 17, 2018 8:15 am

Re: RxPath with # instead of @id causing issues in FF 60.1

Post by radimag » Tue Aug 14, 2018 3:00 pm


I have the same problem over here. Thanks for reporting it!