Collapse Action (GridGroup Objects)

Applies to TestComplete 15.64, last modified on June 12, 2024


The Collapse action collapses the current group. The effect is the same as if you click the group’s title. However, the Collapse action does not move the cursor.



TestObj A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section
Result None

Applies To

The method is applied to the following object:

View Mode

This method is available in the Object Browser panel and in other panels and dialogs in both Basic and Advanced view modes.

Result Value



To collapse a group, you can either call the Collapse action or call the Expand action with the Expand parameter set to False.

See Also

Expand Action (GridGroup Objects)
Expanded Property (GridGroup Objects)
GridGroup Object

Highlight search results