TestLeft can simulate user actions and access internal properties and methods of various VCL and CLX controls. You can also command your tests to recognize your custom controls as VCL and CLX controls to simulate user actions against them.
About Supported VCL and CLX Controls
TestLeft can work with any VCL and CLX controls via graphical user interface. It checks a control’s class name and automatically associates it with the appropriate interface.
Most VCL and CLX controls are supported as standard Windows controls (see Supported Standard Windows Controls). Besides that, TestLeft provides extended support for some specific Delphi and C++Builder controls (see below). These controls are automatically associated with 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.
Supported Controls
The table below contains VCL and CLX controls for which TestLeft provides extended support.
Controls | Library | Classes |
---|---|---|
Button, edit box, list box and other standard Windows controls | Borland Delphi 7, Borland C++Builder 6, Borland Developer Studio 2006, CodeGear RAD Studio 2007 and 2009, Embarcadero RAD Studio 2010, XE - XE8, 10 - 10.4 |
See Supported Standard Windows Controls |
DBGrid |
VCL TDBGrid component of Borland Delphi 7, Borland Developer Studio 2006, CodeGear RAD Studio 2007 and 2009, Embarcadero RAD Studio 2010, XE - XE8, 10 - 10.4 |
TDBGrid |
Main menus |
VCL TActionMainMenuBar component of Borland Delphi 7, Borland Developer Studio 2006, CodeGear RAD Studio 2007 and 2009, Embarcadero RAD Studio 2010, XE - XE8, 10 - 10.4 |
|
StringGrid |
VCL TStringGrid controls of Borland Delphi 7 and C++Builder 6, CodeGear RAD Studio 2007 and 2009, Embarcadero RAD Studio 2010, XE - XE8, 10 - 10.4; CLX TStringGrid controls of Borland Delphi 7 and C++Builder 6 |
TStringGrid |
Supported Third-Party VCL Controls
Besides standard VCL controls included in Delphi and C++Builder, TestLeft supports controls of other vendors, such as Developer Express or TMS Software. For a list of supported third-party VCL controls, see the following topics:
Recognizing Custom Controls
To command TestLeft to recognize your custom controls as VCL and CLX 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.
See Also
Supported Controls
Supported Standard Windows Controls
Supported Developer Express Controls
Supported TMS Controls