Ranorex 5.4.2 does not recognise DOM in Firefox 51.0.1

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
elena.ungureanu
Posts: 19
Joined: Mon Jan 05, 2015 5:46 pm

Ranorex 5.4.2 does not recognise DOM in Firefox 51.0.1

Post by elena.ungureanu » Tue Feb 14, 2017 6:49 pm

Hello,

I've encountered the problem where Find<WebDocument>(rxPath, duration) method does not return any element for '/dom[@BrowserName='Mozilla' and @pageurl!='about:blank' and @Valid='true']' path on Firefox 51.0.1; the adapter calling the method is Host.Local

The same Ranorex method works with Firefox 47.0.2, but it started failing when Firefox has been updated to 51.0.1

I can see the FF form in Spy tool and when I click on it the 'Ranorex Technolofy Limitation' dialog pops up. Even if I run the instrumentation wizard on FF the WebDocument still cannot be found.

Is there any compatibility issue with Firefox 51.0.1?

Ranorex version: 5.4.2
Firefox: 51.0.1
Ranorex Automation NG 1.0.0 add-on is enabled in Firefox
OS: Win 7 SP1 64 bit

Regards,
Elena

krstcs
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: Ranorex 5.4.2 does not recognise DOM in Firefox 51.0.1

Post by krstcs » Tue Feb 14, 2017 7:56 pm

Ranorex 5.4.X is no longer supported, you need to upgrade to 6.1.1 or 6.2.1 if you want support.

Ranorex will not be fixing any issues in 5.4.X, so if it doesn't work right now, it won't work. You must upgrade in order to continue to get bug fixes. In addition, 5.4.2 was obsoleted by 5.4.3-5.4.6, which have several bug fixes related to FF object recognition.

However, I would again advise that you will still not receive support for any versions earlier than 6.1.1.
Shortcuts usually aren't...

elena.ungureanu
Posts: 19
Joined: Mon Jan 05, 2015 5:46 pm

Re: Ranorex 5.4.2 does not recognise DOM in Firefox 51.0.1

Post by elena.ungureanu » Wed Feb 15, 2017 9:54 pm

Hi,

Thank you for your reply, I am well aware that the Ranorex version I'm using is out of date, but at the moment I cannot do the upgrade as my team is close to a production release.

Therefore my question still stands if Ranorex 5.4.2 has compatibility issues with Firefox. I'm asking not because I want support, but rather to know if is worth spending time investigating FF issues or just do manual regression testing.

Regards,
Elena

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Ranorex 5.4.2 does not recognise DOM in Firefox 51.0.1

Post by odklizec » Thu Feb 16, 2017 8:44 am

Hi,

If you look at the Ranorex release notes, there were done some FF related fixes/improvements since version 5.4.2...
5.4.3
Fixed object recognition in Firefox 40+ if started in incognito mode

5.4.4
Updated Firefox addon included in setup to v1.0.2 (for offline installation)

5.4.5
Fixed setting the InnerText value of textarea elements in Firefox to work correctly
Fixed JS dialog windows in Firefox to be correctly identified
I believe the changes in 5.4.3 or 5.4.4 are most probable cure for your problem. So you either install any of these versions and see what happens, or you are most probably out of luck.
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

peddinti
Posts: 2
Joined: Thu Feb 23, 2017 1:20 pm

Re: Ranorex 5.4.2 does not recognise DOM in Firefox 51.0.1

Post by peddinti » Thu Feb 23, 2017 1:26 pm

Hi - I'm using Ranorex 6.2.0 and I'm encountering the same issue in Firefox 51.0.1. Had no issues until Firefox 50.x

McTurtle
Posts: 297
Joined: Thu Feb 23, 2017 10:37 am
Location: Benedikt, Slovenia

Re: Ranorex 5.4.2 does not recognise DOM in Firefox 51.0.1

Post by McTurtle » Tue Feb 28, 2017 2:42 pm

Hello Peddinti,

Is the Ranorex Automation NG installed and enabled? Do you have the version 1.0.8?

There is a newer version of Ranorex available, version 6.2.1. Maybe updating would help.

Please let us know, if it helped.

Regards,
McTurtle

peddinti
Posts: 2
Joined: Thu Feb 23, 2017 1:20 pm

Re: Ranorex 5.4.2 does not recognise DOM in Firefox 51.0.1

Post by peddinti » Tue Mar 07, 2017 9:27 am

Upgrading to the latest version resolved the issue. Thanks

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Ranorex 5.4.2 does not recognise DOM in Firefox 51.0.1

Post by odklizec » Tue Mar 07, 2017 1:58 pm

Nice to hear that! This is why we always suggest to update Ranorex with the most recent version ;)
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration