Supported Standard Windows Controls

Applies to TestComplete 15.69, last modified on November 13, 2024

TestComplete supports testing of various standard Windows controls. You can also modify project properties so that TestComplete recognizes your custom standard Windows controls. The sections below describe how you can test standard Windows controls in detail.

About Supported Standard Windows Controls

TestComplete provides extended support for standard Windows 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.

Supported Classes

Below is the full list of the Windows 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.

Also note that 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 TestComplete to recognize your custom standard Windows controls, open your project’s Object Mapping options and add the control’s class name to the corresponding subgroup of the Win32 Controls and Windows 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 standard Windows 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.

See Also

Supported Controls

Highlight search results