|This method is available in legacy mobile tests that work with devices connected to the local computer. To learn how to simulate user actions in newer cloud-compatible mobile tests, see the Simulating user actions in tests section.|
Collapse action collapses the specified group.
|TestObj||A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section|
The method is applied to the following object:
To view this method in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.
The method has the following parameter:
Specifies the zero-based index of the desired group. The first group has the index 0, the second - 1, and so on. The index of the last row is
wGroupCount - 1.
If the specified group is not found,
Collapse fails and posts an error message to the log.