TestComplete supports testing of various XUL controls. The sections below describe how you can test these controls in detail.
About Testing XUL Controls
TestComplete provides extended support for the most popular user interface controls created via Mozilla’s XML User Interface Language (XUL). 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 XUL controls is rather transparent. During test recording, TestComplete automatically recognizes XUL controls on a page and records the appropriate test commands for your actions. You can then run the recorded test to see how TestComplete simulates user actions on the controls. The entire procedure is very similar to recording and running web tests that work with “regular” web controls. See Web Testing Tutorial, then try to record and run tests on your XUL web pages.
Supported Controls
Below, is the full list of XUL controls and elements TestComplete provides extended support for:
Supported Browser Versions
TestComplete supports XUL controls in the following web browsers:
-
Mozilla Firefox ver. 78 ESR, 88 - 90.
Requirements
-
A license for the TestComplete Web module.
-
The Firefox Support plugin. This plugin is installed and enabled automatically.
If you experience issues when working with the controls, select File | Install Extensions from the TestComplete main menu to check whether the plugin is active. If the plugin is not available, run the TestComplete installation in the Repair mode.