Expand Action (Android Controls)

Applies to TestComplete 14.71, last modified on April 22, 2021

Description

The Expand action expands the specified group.

Declaration

TestObj.Expand(Group)

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    
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.

Parameters

The method has the following parameter:

Group

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

Result Value

None.

Remarks

If the specified group is not found, Expand fails and posts an error message to the log.

See Also

Testing Android Applications
Expanding and Collapsing Expandable List Groups
Collapse Action (Android Controls)
TouchItem Method (Mobile Controls)
LongTouchItem Action (Android Controls)

Highlight search results