wChecked Property (Mobile Controls)

Applies to TestComplete 15.68, last modified on October 16, 2024
This property is available in legacy mobile tests that work with devices connected to the local computer. To learn how to simulate user actions in newer cloud-compatible mobile tests, see the Simulating user actions in tests section.

Description

Specifies whether the radio button control is selected.

Declaration

TestObj.wChecked

Read-Only Property Boolean
TestObj A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section

Applies To

The property is applied to the following objects:

View Mode

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

Property Value

True, if the radio button is currently selected. Otherwise - False.

Example

To view an example that demonstrates how to use the wChecked property to check the control’s state in Android and iOS applications, see Determining a Radio Button's State (Android) and Determining a Segment's State (iOS).

See Also

Testing Android Applications (Legacy)
Testing iOS Applications (Legacy)
Android RadioButton Support
iOS Segment Support
Determining a Radio Button's State
Determining a Segment's State
TouchButton Action (Mobile Controls)

Highlight search results