Ranorex not able recognize elements in Electron

Ask general questions here.
Dawid
Posts: 1
Joined: Tue May 18, 2021 8:18 am

Ranorex not able recognize elements in Electron

Post by Dawid » Tue May 18, 2021 8:33 am

We cannot activate object recognition for Electron application on a server. We've used your guidelines presented on the website: "https://www.ranorex.com/help/latest/int ... lications/", but it's still now working.

Our application we want to record is on port 4444 of localhost based on electron browser. We try to activated port 8081 (but is already used), so we tried with free 8082. Ranorex still not able to recognize objects from the application.

How can we activate object recognition for our application?
You do not have the required permissions to view the files attached to this post.

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

Re: Ranorex not able recognize elements in Electron

Post by odklizec » Thu May 20, 2021 9:03 am

Hi,

Enabling remote debugging is the only way how to work with CEF-based apps. If port 8081 is already used by another app, you can try different port. Check these posts, which may help...
unable-to-identify-the-objects-in-windo ... tml#p45096
cef-application-debugging-warning-t15525.html#p58954
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