Electron app: Ranorex highlighting random objects

Ask general questions here.
soeren
Posts: 1
Joined: Thu Apr 25, 2019 12:32 pm

Electron app: Ranorex highlighting random objects

Post by soeren » Thu Apr 25, 2019 12:55 pm

Hey there!

I tried to record tests with Ranorex 9.0.1 Version in an Electron 3.0.9 based application. To make Ranorex identify any object, I launched the apllication with remote debugging port set to 8081 (as explained in user guide). The problem now is, that the objects Ranorex highlights are not the objects displayed. It seems like the boxes, shown when hovering with the mouse through the application whilst recording, are randomly aligned and not highlighting what is actually shown.

Does anyone have the same problem or an idea how to fix this?

regards, soeren :)

User avatar
qwertzu
Posts: 265
Joined: Wed Jan 25, 2017 11:08 am

Re: Electron app: Ranorex highlighting random objects

Post by qwertzu » Fri Apr 26, 2019 12:00 pm

Hi Soeren,

So I guess you mean that there is an offset in the highlight rectangle?
I once saw this on a CEF application and resolved it by letting Ranorex take the win32 rectangle as dom element.
You can do this by changing the following CEF setting to True:
Settings.png
Settings.png (24.11 KiB) Viewed 166 times
regards,
qwertzu