MooTools Accordion Support

Applies to TestComplete 14.93, last modified on October 12, 2021
Information in this topic applies only to web tests that implement the classic approach. In cross-platform web tests, TestComplete recognizes third-party controls as standard web controls.

About Support

TestComplete can recognize MooTools Accordion controls in web applications. It provides special properties and methods that let you retrieve the controls data and simulate user actions on the controls (see below).

Supported Versions

Supported Component versions: MooTools More 1.4.0.1, 1.5.1, 1.5.2, 1.6.0.

Requirements

In order for TestComplete to be able to work with MooTools Accordion controls, the following requirements must be met:

  • To implement support for the MooTools controls, apply an accessibility patch to the MooTools controls’ source code.

    Patches for supported versions of MooTools controls are shipped with TestComplete. By default, they reside in the <TestComplete 14>\Open Apps\WebControls folder. To apply a needed patch to the control source code use the following instructions:

    1. Follow the link http://sourceforge.net/projects/gnuwin32/files/patch/2.5.9-7/patch-2.5.9-7-bin.zip/download to download an archive containing the free Patch utility.

    2. Extract the patch.exe executable file and place it in the root directory of the controls’ source library (the directory that contains the mootools-more-More-NNN.js file, NNN is your MooTools version).

    3. Copy the patch file corresponding to your MooTools version from the <TestComplete 14>\Open Apps\WebControls folder to the same root folder, in which you have placed the patch.exe file.

    4. Apply the patch by executing the following command line:

      patch -p0 --binary < mootools-more-NNN.diff

      Where NNN is your MooTools version: 1.4.0.1, 1.5.1, 1.5.2, 1.6.0.

  • A license for the TestComplete Web module.

  • The MooTools Control 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 and check whether the plugin is active. (You can find the plugin in the Web group.) If the plugin is not available, run the TestComplete installation in the Repair mode.

Members

When testing MooTools Accordion controls, you can use properties and methods specific to these controls, as well as properties and methods that TestComplete applies to onscreen objects. For the full list of available properties and methods, see the following topics:

See Also

List of MooTools Controls

Highlight search results