CEF Application debugging warning

Ask general questions here.
Tushar
Posts: 7
Joined: Wed Feb 12, 2020 1:40 pm

CEF Application debugging warning

Post by Tushar » Wed Feb 12, 2020 2:51 pm

I am automating CEF application and getting warning as -
UI elements in your CEF AUT can’t be identified because the remote debugging port isn’t enabled in your AUT or can’t be found. Make sure you’ve enabled it and set it to 8081.
Process: 'Open NCA' (pid 6284)
https://www.ranorex.com/help/v9.2/inter ... eshooting/
(This message is only shown once per report.)


As per forum, I passed argument as ApplicationUnderTest.exe –remote-debugging-port=8081

But it still giving warning as shown in attached screenshot. Would it affect my Test Execution at any point of time during Test Cycle?

User avatar
Vega
Certified Professional
Certified Professional
Posts: 222
Joined: Mon Jul 11, 2016 2:15 pm

Re: CEF Application debugging warning

Post by Vega » Wed Feb 12, 2020 7:50 pm

Try remote debugging in your browser to confirm that remote debugging is actually enabled. For instance if you use the command line argument myapplication.exe -remote-debugging-port=8888 then you can open your browser to localhost:8888. If you do not see anything in your browser, then you do not have CEF remote debugging enabled and thus it will not work in Ranorex.

Also if your application under test is .NET based, you may be using CEFSharp instead of regular CEF which requires different steps for enabling remote debugging. There is also information at the link below for CEF & CEFSharp:

https://www.ranorex.com/help/latest/int ... lications/

hope this helps