wGroupExpanded Property (Grid Controls)

Applies to TestComplete 14.40, last modified on April 22, 2021
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

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