JxBrowser - Ranorex wrongly detects elements

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
User avatar
simovakr
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: 10.1.2.0
snapshot.rxsnp
(558.27 KiB) Downloaded 38 times

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7215
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

Hi,

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