YUI 2 Split Button Support

Applies to TestComplete 15.70, last modified on December 11, 2024
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 YUI 2 Split Button 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).

The YUI().use() method supported by the YUI 3 library allows loading YUI 2 modules and widgets into YUI 3 and creating YUI 2 controls with YUI 3 support. For more information on this, see documentation for the YUI global object (the on-line version is available at http://yuilibrary.com/yui/docs/yui/).

TestComplete can test YUI 2 controls created with YUI 3 support, but each subsequent call of the YUI().use() method in your tested application makes controls created with the previous method call unavailable to TestComplete.

Supported Versions

Supported component versions: Yahoo! User Interface Library 2.9.0.

Requirements

Support for the YUI 2 Split Button controls is implemented by the Yahoo! Control Support plugin. This plugin is installed and enabled automatically as part of the TestComplete Web module.

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 YUI 2 Split Button 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

Yahoo! User Interface Library 2 Controls

Highlight search results