TestComplete supports testing of various GWT controls. The sections below describe how you can test these controls in detail.
About Supported GWT Controls
TestComplete can work with any web control via the control’s graphical user interface displayed in a web browser, no matter how the control is implemented on the server side. You can test web applications that use controls implemented by using various technologies and frameworks, including GWT.
Besides, TestComplete provides extended support for most of GWT controls. It automatically associates them with special scripting test objects that contain supplementary methods and properties for working with the controls, for example, for selecting individual items and retrieving the item text.
Requirements
-
A license for the Web module of TestComplete.
-
The Google Web Toolkit Control Support plugin. It provides access to controls via special program objects.
-
The following plugins:
-
Web Testing - Implements web testing, enables testing of web applications running in Internet Explorer, Edge or WebBrowser controls.
-
Firefox Support - Enables testing of web applications running in Mozilla Firefox.
-
Chrome Support - Enables testing of web applications running in Google Chrome.
-
Chromium Embedded Framework Support - Enables web testing in applications created with Chromium Embedded Framework (CEF) or with Electron.
-
All these plugins are installed and enabled automatically.
If you experience issues when working with the controls, select File | Install Extensions from the main menu of TestComplete to check whether the plugins are active. If a plugin is not available, run the TestComplete installation in the Repair mode.
Supported Browser Versions
TestComplete supports testing of GWT controls in web applications displayed in the following browsers:
-
Microsoft Internet Explorer ver. 10–11.
-
Microsoft Edge.
-
Mozilla Firefox ver. 60 – 67.
If you use a later version of Firefox, check whether a patch is available for it.
-
Google Chrome ver. 74.
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 74, you will have to upgrade your TestComplete to some later version. We recommend using version 14.10.
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.
-
Embedded Chromium web browser:
-
In applications built with Chromium Embedded Framework (CEF) version 73.0.3683 and earlier.
-
In applications built with Electron version 1.8.2, 2.0.2, 3.0.2, 4.0.2, 5.0.0.
-
Supported Controls
Below is a complete list of GWT controls for which TestComplete provides extended support.
Control | Library | Class |
---|---|---|
DisclosurePanel | GWT 2.0 - 2.4, 2.5.1, 2.6.0, 2.6.1, 2.7.0 | com.google.gwt.user.client.ui.DisclosurePanel |
MenuBar | GWT 2.0 - 2.4, 2.5.1, 2.6.0, 2.6.1, 2.7.0 | com.google.gwt.user.client.ui.MenuBar |
PushButton | GWT 2.0 - 2.4, 2.5.1, 2.6.0, 2.6.1, 2.7.0 | com.google.gwt.user.client.ui.PushButton |
StackPanel | GWT 2.0 - 2.4, 2.5.1, 2.6.0, 2.6.1, 2.7.0 | com.google.gwt.user.client.ui.StackPanel |
TabPanel | GWT 2.0 - 2.4, 2.5.1, 2.6.0, 2.6.1, 2.7.0 | com.google.gwt.user.client.ui.TabPanel |
ToggleButton | GWT 2.0 - 2.4, 2.5.1, 2.6.0, 2.6.1, 2.7.0 | com.google.gwt.user.client.ui.ToggleButton |
Tree | GWT 2.0 - 2.4, 2.5.1, 2.6.0, 2.6.1, 2.7.0 | com.google.gwt.user.client.ui.Tree |
TestComplete also supports the following GWT controls as standard Web objects:
Control | Library | Class | Corresponding Web Object |
---|---|---|---|
CheckBox | GWT 2.0 - 2.4, 2.5.1, 2.6.0, 2.6.1, 2.7.0 | com.google.gwt.user.client.ui.CheckBox | Web Check Box |
ComboBox | GWT 2.0 - 2.4, 2.5.1, 2.6.0, 2.6.1, 2.7.0 | com.google.gwt.user.client.ui.ComboBox | Web Combo Box |
ListBox | GWT 2.0 - 2.4, 2.5.1, 2.6.0, 2.6.1, 2.7.0 | com.google.gwt.user.client.ui.ListBox | Web List Box |
Table | GWT 2.0 - 2.4, 2.5.1, 2.6.0, 2.6.1, 2.7.0 | com.google.gwt.user.client.ui.Table | Web Table |
For more information on standard Web test objects, see List of Web Objects.
See Also
Supported Controls
Supported Web Controls
Testing Web Applications