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
Use the wIsDropDownOpened
property to determine whether the control’s drop-down window is open or not.
Declaration
TestObj.wIsDropDownOpened
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:
Android Spinner, Ext JS Menu Button, JavaFX MenuButton and 4 more objects, jQuery Mobile Select Multiple Menu, MFC Menu Button, Telerik RadDropDownButton for Silverlight, YUI 2 Menu Button « Collapse the list
View Mode
To view this property in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.
Property Value
The property returns True, if the drop-down window is open, or False otherwise.
Example
You can find an example demonstrating how to use the wIsDropDownOpened
property of Android spinner controls in the Working With Drop-Down Lists topic. You can work with other drop-down controls in a similar way.
See Also
DropDown Action (Split Button Controls)
CloseUp Action (Split Button and Menu Button Controls)