TestComplete supports testing of various Web controls. The sections below describe how you can test these controls in detail.
About Web Control Support
TestComplete can access web page elements displayed in the Internet Explorer, Edge, Firefox, or Chrome browser, or in the WebBrowser (but not the Edge-based WebBrowser) or Chromium integrated into the tested application. That is, you can access every P, DIV, IMG, INPUT and many other tags and their properties. As for web pages displayed in other browsers (for instance, in Konqueror or in Netscape Navigator), you can test them in black-box mode. In other words, you can simulate keystrokes or mouse clicks by coordinates, but you cannot address their individual elements.
TestComplete provides extended support for the most popular web controls and elements. These controls are automatically associated with special program objects that extend the controls’ functionality with a number of supplementary methods and properties. These extended methods and properties let you perform various operations over web elements and controls, for example, select individual items or retrieve the item text (see below).
Support for web controls is rather transparent. During test recording, TestComplete automatically recognizes web controls on the page and records appropriate test commands for your actions. You can then run the recorded test to see how TestComplete simulates user actions. The entire procedure does not depend on control type. For information on creating and running web tests, see Web Testing Tutorial.
Below, is the full list of web controls and elements TestComplete provides extended support for:
Support for Web Application Framework Controls
Quite often, dynamic web pages are created using so called web application frameworks - ASP.NET Ajax, Google Web Toolkit, Dojo Toolkit, Yahoo UI and others. These frameworks provide developers with a vast number of dynamic controls.
TestComplete can handle these controls without any preliminary preparations. Dynamic controls are typically recognized either as
Onscreen objects, or as special program objects that extend the controls’ functionality, like the above-mentioned program objects, Flex program objects, Java program objects or some other. Additionally, you can configure the object mapping scheme to improve recognition of dynamic controls. See the Technologies and Frameworks section in the Supported Web Browsers topic and the Support for Web Controls topic for details.
Supported Browser Versions
The plugins support the following browsers:
Microsoft Internet Explorer ver. 11.
Note: Starting from TestComplete version 14.70, TestComplete does not support recording web tests in the non-Chromium version of Edge.
Mozilla Firefox ver. 78 ESR, 83 - 87.
If you use a later version of Firefox, check whether a patch is available for it.
Google Chrome ver. 89.
If you have a TestComplete version earlier than 12.42, your version of the SmartBear Test Extension will be incompatible with newer versions of the Chrome web browser. To test web applications in Chrome 89, you will have to upgrade your TestComplete to some later version. We recommend using version 14.80.
If you use a later version of Google Chrome, check whether a patch is available for it.
Any web browser based on the Microsoft WebBrowser control.
Note: The Edge-based WebBrowser control is not supported.
Embedded Chromium web browser:
In applications built with Chromium Embedded Framework (CEF) version 85.0.4183 and earlier (except CEF3 1750).
Note: For CEF applications that use WPF controls, only versions 84.0.04147 and earlier are supported.
In applications built with Electron version 1.8.2, 2.0.2, 3.0.2, 4.0.2, 5.0.0, 6.0.0, 6.1, 7.0.0, 7.1, 8.0 - 8.5, 9.0 - 9.2, 10.0 - 10.1, 11.0.0.
Currently, TestComplete does not support:
Electron applications created with: Electron 9.x on Windows 7.
Electron 9.x and 11.0.0 if they have an enabled global sandbox mode (the
You can face object-recognition issues if your Electron app is built with the disabled remote module.
A license for the TestComplete Web module.
The following plugins:
- To access properties of web page elements shown in Internet Explorer, Edge or in the WebBrowser control, the Web Testing plugin must be installed in TestComplete.
- To test web pages that are shown in Firefox, the Web Testing and Firefox Support plugins are required.
- To test web pages that are shown in Chrome, the Web Testing and Chrome Support plugins are required.
- To test web pages in applications created with Chromium Embedded Framework (CEF) or with Electron, the Web Testing and Chromium Embedded Framework Support plugins are required.
These plugins are installed and enabled automatically.
These plugins are installed and enabled automatically if you choose to install the TestComplete Web module in the TestComplete installation wizard. For more information on these plugins, see Requirements for Web Testing.