Supported Standard Windows Controls

Applies to TestLeft 15.40, last modified on March 17, 2022

TestLeft can simulate user actions and access internal properties and methods of various standard Windows controls. You can also command your tests to recognize your custom controls as standard Windows controls to simulate user actions against them.

About Supported Standard Windows Controls

TestLeft identifies standard Windows controls in applications and automatically cast them to interfaces that extend the control functionality with a number of additional methods and properties.

You use those methods and properties to simulate various actions against the controls, for example, select control’s items or get the item text.

Supported Classes

TestLeft recognizes controls by their class name. Below is a full list of the Windows controls that TestLeft supports.

Note: Class names can contain asterisk (*) or question mark (?) wildcards. The asterisk corresponds to a string of any length, the question mark - to any single character.
Controls Classes
Button TBitBtn*
TButton*
Thunder*CommandButton
WindowsForms*BUTTON*
Check box *CHECKBOX*
Combo box ComboBox
ComboBoxEx32
WindowsForms*.COMBOBOX.*
TComboBox
TComboBox.*
TComboBoxEx
TComboBoxEx.*
TDBComboBox
TDBComboBox.*
Thunder*DriveListBox
TColorBox*
TMyComboBox
Thunder*ComboBox
Date-time picker *DateTimePick*
DTPicker*
Edit box EDIT
TDBEdit
TDBEdit.*
TDBMemo
TDBMemo.*
TEdit
TEdit.*
TMemo
TMemo.*
TLabeledEdit
TLabeledEdit.*
*RichEdit*
RichTextWndClass
TseDBEdit
WindowsForms*.EDIT*
Thunder*TextBox
WFC.EDIT
TcxCustomInnerTextEdit
TcxCustomInnerMemo
Header *SysHeader*
msvb_lib_header
THeaderControl*
HotKey *HotKey*
IP address SysIPAddress32
List box ListBox
TDBListBox
TDBListBox.*
TListBox*
TCheckListBox*
TColorListBox*
ThunderRT6ListBox
ThunderRT6FileListBox
WFC.LISTBOX
WindowsForms*.LISTBOX.*
ComboLBox
REListBox20W
TcxInnerListBox
List view *ListView*
Month calendar *MonthCalendar*
*SysMonthCal*
*MonthView*
Pager *SysPager*
*PageScroller*
Radio button (option button) *RadioButton*
TGroupButton*
Thunder*OptionButton
Scroll bar *ScrollBar*
Status bar msctls_statusbar32
WindowsForms*.msctls_statusbar32.*
TStatusBar
SysLink SysLink
Link?Window
Tab control *TabControl*
TPageControl
TPageControl.*
TTabbedNotebook
TPropertySheetControl
TabStrip20WndClass
_wx_SysTabCtl32
Toolbar *ToolBar*
Tooltip tooltip_class32
Track bar (slider) msctls_trackbar
msctls_trackbar32
WindowsForms*.msctls_trackbar32.*
TTrackBar
TTrackBar.*
Slider*WndClass
Tree view *TreeView*
UpDown *UpDown*

Recognizing Custom Controls

To command TestLeft to recognize your custom controls as standard Windows 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

Highlight search results