ClickButton Action (Specific to QtToolButton Controls)

Applies to TestComplete 14.72, last modified on April 22, 2021

Description

Moves the mouse pointer to a tool button and then simulates a single click of the left mouse button over it.

Declaration

TestObj.ClickButton(Shift)

TestObj A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section
Shift [in]    Optional    TShiftKey Default value: skNoShift   
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.

Parameters

The method has the following parameter:

Shift

Specifies the key that will be pressed during the click. See TShiftKey.

Result Value

None.

See Also

ClickButtonXY Action (Specific to QtToolButton Controls)
ClickButtonR Action (Specific to QtToolButton Controls)
ClickButtonRXY Action (Specific to QtToolButton Controls)
DblClickButton Action (Specific to QtToolButton Controls)

Highlight search results