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:
AngularUI Bootstrap Radio Button, Bootstrap Radio Button, Developer Express RadioButton and 15 more objects, Ext JS Radio Field, Java Swing Radio Button, JavaFX RadioButton, jQuery Mobile Radio button, jQuery UI Radio Button, Microsoft RadioButton, Oracle Forms Radio Button, Qt RadioButton, Silverlight RadioButton, Syncfusion RadioButtonAdv, Telerik RadRadioButton for Silverlight, Telerik RadRadioButton for WinForms, Win32 RadioButton, WPF RadioButton, YUI 2 Radio Button « Collapse the list
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.
See Also
Selecting a Radio Button
ClickButton Action (RadioButton Controls)