ClickButton Action (RadioButton Controls)

Applies to TestComplete 14.40, last modified on April 22, 2021
Information in this topic applies only to web tests that implement the default approach. This method is not supported in cross-platform web tests.

Description

The ClickButton action moves the mouse pointer to the specified button and then simulates a single click.

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 objects:

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 determine the state of the radio button before the click, use the wChecked property.

Example

To view an example that demonstrates how to use the ClickButton action, see Selecting a Radio Button.

See Also

Selecting a Radio Button

Highlight search results