Skip to main content

How can I start Uniface with CEF debugging enabled?

  • June 22, 2020
  • 5 replies
  • 0 views

I want to write some tests using the Ranorex automation framework. In order for Ranorex to parse the HTML text within Chrome's CEF, CEF debugging needs to be enabled.


Is there a command-line argument that I can pass to my uniface app, that enables a port for CEF debugging?


I have tried the following without success:

  • uniface.exe /deb=TCP:localhost+8081:create myapp

  • uniface.exe /deb=TCP:localhost+8081:wait myapp

  • uniface.exe /deb=TCP:localhost+8081:nowait myapp

  • uniface.exe -–remote-debugging-port=8081 myapp

This is the precise error message my testing framework gives me:

UI elements in your CEF AUT (Application Under Test) 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.

5 replies

  • Rocketeer
  • June 23, 2020

I want to write some tests using the Ranorex automation framework. In order for Ranorex to parse the HTML text within Chrome's CEF, CEF debugging needs to be enabled.


Is there a command-line argument that I can pass to my uniface app, that enables a port for CEF debugging?


I have tried the following without success:

  • uniface.exe /deb=TCP:localhost+8081:create myapp

  • uniface.exe /deb=TCP:localhost+8081:wait myapp

  • uniface.exe /deb=TCP:localhost+8081:nowait myapp

  • uniface.exe -–remote-debugging-port=8081 myapp

This is the precise error message my testing framework gives me:

UI elements in your CEF AUT (Application Under Test) 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.

CEF debugging is currently disabled (and there's no option to configure this).

The lab, however, is busy updating the CEF version used by Uniface and it is planned to enable CEF debugging as well. I currently don't know when the new version will be made available, but this will be certainly announced here on uniface.info. I guess, for now, we have to wait an see.

I hope this helps.

Kind regards,
Daniel


  • June 23, 2020

CEF debugging is currently disabled (and there's no option to configure this).

The lab, however, is busy updating the CEF version used by Uniface and it is planned to enable CEF debugging as well. I currently don't know when the new version will be made available, but this will be certainly announced here on uniface.info. I guess, for now, we have to wait an see.

I hope this helps.

Kind regards,
Daniel

What a pity. Thanks a lot for the clarification though, Do you happen to know if it's going to be enabled for Uniface 9 too?


Gruess,

Nico


  • Rocketeer
  • June 23, 2020

CEF debugging is currently disabled (and there's no option to configure this).

The lab, however, is busy updating the CEF version used by Uniface and it is planned to enable CEF debugging as well. I currently don't know when the new version will be made available, but this will be certainly announced here on uniface.info. I guess, for now, we have to wait an see.

I hope this helps.

Kind regards,
Daniel

Thanks for your reply. And you are welcome.

AFAIK this is the plan, but this might be still subject to change. Hopefully we can share more details here (i.e. on Uniface.info) soon.

Kind regards,
Daniel


Norbert Lauterbach
Forum|alt.badge.img+3

I want to write some tests using the Ranorex automation framework. In order for Ranorex to parse the HTML text within Chrome's CEF, CEF debugging needs to be enabled.


Is there a command-line argument that I can pass to my uniface app, that enables a port for CEF debugging?


I have tried the following without success:

  • uniface.exe /deb=TCP:localhost+8081:create myapp

  • uniface.exe /deb=TCP:localhost+8081:wait myapp

  • uniface.exe /deb=TCP:localhost+8081:nowait myapp

  • uniface.exe -–remote-debugging-port=8081 myapp

This is the precise error message my testing framework gives me:

UI elements in your CEF AUT (Application Under Test) 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.

Hello,


are there any new Infos about this theme?

The new CEF should be available.


Regards

Norbert


Norbert Lauterbach
Forum|alt.badge.img+3

CEF debugging is currently disabled (and there's no option to configure this).

The lab, however, is busy updating the CEF version used by Uniface and it is planned to enable CEF debugging as well. I currently don't know when the new version will be made available, but this will be certainly announced here on uniface.info. I guess, for now, we have to wait an see.

I hope this helps.

Kind regards,
Daniel

This is a Test for sorting purposes only.