Can I automate CEF3 with UFT?
Question ID: 105849
0
0

Is it possible to automate CEF3? I am currently using UFT 12.02 to do my testing.

Marked as spam
Posted by (Questions: 89, Answers: 4)
Asked on January 19, 2015 3:00 pm
324 views
Answers (4)
0
Private answer

I believe you are asking about Chromium Embedded Framework 3, correct?

Sorry, but CEF isn't currently supported. There is an open enhancement request (QCCR1J73881) with HP regarding. They have deferred it for the time being but may address it in a later version of the product.

Marked as spam
Posted by (Questions: 2, Answers: 477)
Answered on January 19, 2015 3:01 pm
0
Private answer

is there any update on this issue?

Marked as spam
Posted by (Questions: 4, Answers: 2)
Answered on May 7, 2016 3:36 am
0
Private answer

is there any update on the cefsharp support ?

Marked as spam
Posted by (Questions: 0, Answers: 1)
Answered on July 19, 2016 4:01 pm
0
Private answer

@mekhaamol
Working with the Chromium Embedded Framework (UFT 12.53)

If you have applications that contain the Chromium Embedded Framework, UFT can record and run tests on these applications using standard GUI testing support. These details apply to both Java CEF and Adobe CEP.

Note: Chromium Embedded Framework objects are not supported for other Web-based add-ins, such as .NET Web Forms, Web-based SAP, Siebel, Java, or the Web 2.0 Toolkits.

You must enable communication between UFT and your application as follows:

For recording:

Add the remote debugging address and URL for the Chromium controls in the Remote Connections pane of the Options dialog box (Tools > Options > GUI Testing tab > Web > Remote Connections node). This enables UFT to find the application's objects when recording.

For running tests:

Manually add a statement to your test or component to enable UFT to attach to or detach from the application:

WebUtil.AttachRemoteDebugging
WebUtil.DetachRemoteDebugging

For more details on the AttachRemoteDebugging and DetachRemoteDebugging statements, see the Web section of the UFT Object Model Reference for GUI Testing.

Known Issues - Chromium Embedded Framework

Nonsupported functionalities:

Object Spy
Navigate and Learn
Drag and Drop
Active Screen
Web options (Tools > Options > GUI Testing tab > Web node)
Recording on multiple tabs or windows
Low-level recording

Recording:

When recording, a page navigation script may display after a page is fully loaded. This may lead to errors when recording. To avoid errors in your script, wait until the navigation step is recorded before continuing.

Checkpoints:

Only standard, bitmap, and text/text area checkpoints are supported.

Unsupported test objects and methods:

Browser dialog boxes (like Alert, Confirm, Prompt)
Browser methods
Modal or modaless dialog boxes
chrome://* pages
about://* pages
WebFile test objects
ViewLink test objects
WebXML test objects

Localized versions:

When working in localized versions of UFT, connecting to an application that includes Chromium Embedded Framework objects via the localhost may have errors. In such cases, use the 127.0.0.1 IP address instead.

Ending processes manually:

You may need to end the WebDriverHost.exe and chromedriver.exe processes manually in the following situations:

If UFT was connected to an incorrect port
If the CEF application was not closed correctly.

In such cases, you must end these processes manually to avoid unexpected behavior when working with the CEF application.

The above was found in the UFT 12.53 Addins Guide.

Marked as spam
Posted by (Questions: 4, Answers: 2)
Answered on November 13, 2016 12:57 am
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top