CheckButton Action (Mobile Controls)

Applies to TestComplete 14.72, last modified on December 24, 2020

Description

Simulates a series of touches, which put the control into the desired state.

Declaration

TestObj.CheckButton(State)

TestObj A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section
State [in]    Required    Variant    
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.

Parameters

The method has the following parameter:

State

Specifies the state of the control.

Possible values:

Value Description
cbChecked, True or 1 The control is checked.
cbUnchecked, False or 0 The control is unchecked.

Result Value

None.

Example

To view an example that demonstrates how to use the CheckButton method, see Selecting and Clearing Check Boxes.

See Also

Testing Android Applications
Selecting and Clearing Check Boxes
Changing Switch State
Changing Toggle Button State
Touch Action (Mobile Objects)

Highlight search results