wIsDropDownOpened Property (Split Button and Menu Button Controls)

Applies to TestComplete 15.70, last modified on December 17, 2024
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:

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)

Highlight search results