Information in this topic applies only to web tests that implement the default approach. This property is not supported in cross-platform web tests. |
Description
If the enableToggle
property of an Ext JS button is True, TestComplete provides the wState
property that specifies the current state of a button control.
Declaration
TestObj.wState
Read-Write Property | Integer |
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 object:
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
The wState
property can have one of the following values:
Constant | Value | Description |
---|---|---|
cbUnchecked |
0 or False |
The control is unchecked. |
cbChecked |
1 or True |
The control is checked. |
See Also
DropDown Action (Split Button Controls)
CloseUp Action (Split Button and Menu Button Controls)