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
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)