Forum Discussion
Hi BenoitB,
Right now I have only Desktop licence. Can we automate this application with existing licence. Please advise.
regards,
Shylaja
Hi BenoitB,
Sorry by mistake I clicked accept as a solution, even with Desktop + Web licence, am unable to recognise objects inside Angular application.Please advise.
regards,
Shylaja
- BenoitB4 years agoCommunity Hero
Hello,
To test chromium embedded content you need Web licence, the Desktop licence is not required.
Specifics of Web Testing in Embedded Browsers
TestComplete supports web testing in applications that use the Microsoft WebBrowser control or Chromium web browser (in CEF-based and Electron-based applications). Such applications are recognized as generic Windows applications, however, TestComplete uses its web testing abilities to expose the hierarchy of web pages displayed in the embedded browser.
To test web pages displayed in embedded browsers, you must have an active license for the TestComplete Web module. The Desktop module is not required.
More info here:
https://support.smartbear.com/testcomplete/docs/app-testing/web/general/considerations.html
Please follow all configuration settings in this article, like:
Common Considerations for Testing with Embedded Web Browsers
When testing in any embedded browser, take the following into account:
-
An application is recognized as an "ordinary"
Process
test object (rather than theBrowser
test object). -
Page objects may be not immediate children of the respective process. They can be child objects of the window object that hosts the browser control.
-
Web tests created in applications with embedded browsers are not cross-browser tests (as they depend on the position of the embedded browser control within the object hierarchy). That is, for the same web page displayed in a standard and in an embedded browser, the path to the Page object varies, while the child objects are the same.
-
To add an application with an embedded browser as a Tested Application, you should add it as a Generic Windows Tested Application (rather than as a Web Application).
Specifics of Testing Applications with the Embedded Chromium Browser
-
For CEF-based applications: TestComplete can expose the page hierarchy only if JavaScript is enabled in the application. Enable JavaScript in your tested application through the settings of the CEF library.
-
Testing of Silverlight applications in CEF-based applications is not currently supported.
-
The hierarchy of web page elements in CEF-based and Electron-based applications is displayed as the Tree object model. If some other object model is chosen (not recommended), it is treated as the Tree model.
-
To test web applications created with EO.WebBrowser, set your system DPI to 100%.
- sonya_m4 years agoSmartBear Alumni (Retired)
shy_bt Please answer on the forum, not to the email notification if you want community members to see your answer.
- shy_bt4 years agoOccasional Contributor
Hi Team,
I checked the File extensions, ChromiumEmbeddedFramework support is enabled. I tried Tested Apps with -InjectCefHook as command line parameter.Still am unable to recognise. Even added CefSharp.Wpf.ChromiumWebBrowser under Current / Default Project settings Any settings needs to be changed, please suggest. Please help, am held up for more than 15 days.
Am using Test complete with
Version: 14.0.317.7 x86
License: Perpetual (Web, Desktop)And the application is completely Desktop application not a web application.
Regards,
Shylaja
-