ClickButton Action (Specific to MicrosoftCheckBox Controls)

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

Description

The ClickButton action moves the mouse pointer to a check box control and then simulates a single click of the left mouse button over it.

Declaration

TestObj.ClickButton()

TestObj A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section
Result None

Applies To

The method is applied to the following object:

View Mode

This method is available in the Object Browser panel and in other panels and dialogs in both Basic and Advanced view modes.

Result Value

None.

Remarks

To obtain the state of the check box before clicking or toggling the check box without moving the mouse pointer, use the wState property.

See Also

wState Property (CheckBox and ToggleButton Controls)

Highlight search results