wGroupExpanded Property (Grid Controls)

Applies to TestComplete 14.72, last modified on April 22, 2021
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 wGroupExpanded property to check whether a particular group in the grid control is expanded.

Declaration

TestObj.wGroupExpanded(Group)

Read-Only Property Integer
TestObj A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section
Group [in]    Required    Integer    

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.

Parameters

The property has the following parameter:

Group

Specifies the index of the desired group. The index is zero-based, that is, the first group has index 0, the second - 1, and so on. Index of the last group is wGroupCount - 1.

Property Value

True, if the specified group is expanded and False otherwise.

If the specified group is not found, the property will return False as well and post an error message to the test log.

Remarks

If you use Python or DelphiScript, you should enclose the parameter of the wGroupExpanded property in square brackets: wGroupExpanded[Group].

To expand and collapse grid groups, use the ExpandGroup and CollapseGroup actions.

See Also

wGroupExpanded Property (Specific to DevExpressQuantumGrid Controls)
CollapseGroup Action (Grid Controls)
ExpandGroup Action (Grid Controls)

Highlight search results