TestLeft can simulate user actions and access internal properties and methods of various TMS controls. You can also command your tests to recognize your custom controls as TMS controls to simulate user actions against them.
About Supported TMS Controls
TestLeft can work with any TMS controls via graphical user interface. Besides that, TestLeft provides extended support for some of TMS controls. It automatically associates the controls with special interfaces that extend the controls’ functionality with a number of supplementary methods and properties. Use these extended methods and properties to perform various operations over the controls, for example, select individual items or retrieve the item text.
TestLeft recognizes controls by their class name. Below is a full list of the TMS controls that TestLeft supports.
||TMS AdvStringGrid ver. 4.6, 6.0.2||TAdvStringGrid|
||TMS AdvGlowButton ver. 1.8, 1.9, 2.1||TAdvGlowButton
Recognizing Custom Controls
To command TestLeft to recognize your custom controls as TMS controls, cast your control to the interface of the appropriate type.
If your control does not fit the type of the control, for which the interface provides support, it may improperly respond to commands that TestLeft will send, and simulating user actions against your control may cause errors.