JxBrowser - Ranorex wrongly detects elements

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
User avatar
Posts: 1
Joined: Fri Dec 03, 2021 3:19 pm

JxBrowser - Ranorex wrongly detects elements

Post by simovakr » Fri Dec 03, 2021 4:05 pm

We have eclipse-based application in which we are using JxBrowser for html visualization. We're using the --remote-debugging-port=8081 switch but Ranorex sees the elements incorrectly - In Spy are all elements visible but there is some strange offset in 'Location' attribute of the DOM - this results in Ranorex to click on the wrong places in the DOM, etc..

In the attached snapshot you can see the form 'frame0' element has Location 0;0, but the DOM element underneath has Location -396; -108. We have this problem since we've updated JxBrowser from 6.18 to 6.24.3, so we assume that's the cause.

Any suggestions or switch we could use to solve this?

Ranorex version:
You do not have the required permissions to view the files attached to this post.

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

Re: JxBrowser - Ranorex wrongly detects elements

Post by odklizec » Mon Dec 06, 2021 1:15 pm


I'm afraid, this kind of issue could not be solved via this forum or some kind of "magic" switch. The best you can probably do is to contact Ranorex support via this forum: https://www.ranorex.com/support-query/

I guess they will need to see your app under test or, at very least, a small sample app demonstrating this issue. The snapshot is fine to show the problem, but it cannot be debugged ;)
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