wChecked Property (RadioButton Controls)

Applies to TestComplete 15.47, last modified on January 20, 2023
This property is not supported in web tests (including cross-platform web tests) that use XPath expressions and CSS selectors to locate web elements. This property can be only used in tests that locate web objects by using internal identification properties provided by TestComplete.

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.

Remarks

Use ClickButton to change the current radio button state.

Example

To view an example that demonstrates how to use the wChecked property, see Determining a Radio Button's State in Desktop Windows Applications.

See Also

Selecting a Radio Button in Desktop Windows Applications
ClickButton Action (RadioButton Controls)

Highlight search results