TestComplete supports testing of various TMS controls. You can also modify project properties so that TestComplete recognizes your custom TMS controls. The sections below describe how you can test TMS controls in detail.
TestComplete can work with any TMS controls via a graphical user interface. Besides that, TestComplete provides extended support for some of TMS controls. 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 the controls, for example, select individual items or retrieve the item text.
A license for TestComplete Desktop module.
The TMS Software Control Support plugin. It provides access to controls via special program objects. It also enables creating table checkpoints for controls that display data in a tabular form. For the full list of these controls, see About Tables Collection.
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.
Below is the full list of the TMS controls for which TestComplete provides extended support.
Note that TestComplete provides support for the listed controls as well as for their descendants. However, to make this possible, you need to specify the class name of your inherited control in the corresponding group of the project’s Object Mapping options. For more information, see Object Mapping.
|AdvStringGrid||TMS AdvStringGrid ver. 4.6, 6.0.2, 184.108.40.206||TAdvStringGrid|
|AdvGlowButton||TMS AdvGlowButton ver. 1.8, 1.9, 2.1, 220.127.116.11||TAdvGlowButton
To command TestComplete to recognize your custom TMS controls, open your project’s Object Mapping options and add the control’s class name to the corresponding subgroup of the TMS Software group. The subgroup name corresponds to your custom control’s type. Once the control is mapped, it gets all the properties, methods and actions specific to the TMS control of the corresponding type.
If the specified custom control does not fit the control’s type, then it may not properly respond to commands that TestComplete sends, so recording or playing back user actions over the tested control will cause errors.