TestComplete supports testing of various jQuery Mobile controls. You can also modify project properties so that TestComplete recognizes your custom jQuery Mobile controls. The sections below describe how you can test jQuery Mobile controls in detail.
About jQuery Mobile 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 jQuery.
Besides, TestComplete provides extended support for most of jQuery Mobile 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.
A license for the Web module of TestComplete.
The jQuery Mobile 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 control (but not the Edge-based WebBrowser control).
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 jQuery Mobile controls in web applications displayed in 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.
Below is a full list of the jQuery Mobile controls for which TestComplete provides extended support.
|Button||jQuery Mobile version 1.4.2, 1.4.3, 1.4.4, 1.4.5||ui-btn|
|Checkbox||jQuery Mobile version 1.4.2, 1.4.3, 1.4.4, 1.4.5||ui-btn|
|Collapsible||jQuery Mobile version 1.4.2, 1.4.3, 1.4.4, 1.4.5||ui-collapsible|
|Collapsible Set||jQuery Mobile version 1.4.2, 1.4.3, 1.4.4, 1.4.5||ui-collapsible-set|
|Flipswitch||jQuery Mobile version 1.4.2, 1.4.3, 1.4.4, 1.4.5||ui-flipswitch|
|Listview||jQuery Mobile version 1.4.2, 1.4.3, 1.4.4, 1.4.5||ui-li|
|Radio button||jQuery Mobile version 1.4.2, 1.4.3, 1.4.4, 1.4.5||ui-btn|
|Range slider||jQuery Mobile version 1.4.2, 1.4.3, 1.4.4, 1.4.5||ui-rangeslider|
|Selectmenu||jQuery Mobile version 1.4.2, 1.4.3, 1.4.4, 1.4.5||ui-select|
|Selectmultiplemenu||jQuery Mobile version 1.4.2, 1.4.3, 1.4.4, 1.4.5||ui-select|
|Slider||jQuery Mobile version 1.4.2, 1.4.3, 1.4.4, 1.4.5||ui-slider|
Note: If your control is not in the list, you can try working with it by using the properties and methods TestComplete provides for standard web elements. See Support for Web Controls.