wGroupCount Property (Android Controls)

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

Description

Use the wGroupCount property to get the total number of the groups in the expandable list.

Declaration

TestObj.wGroupCount

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

Applies To

The property is applied to the following object:

View Mode

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

Property Value

The total number of groups in the control.

Remarks

You can use the wGroupCount and wGroup properties to iterate through expandable list groups.

Example

To view an example that demonstrates how to use the wGroupCount property, see Addressing Expandable List Groups and Items.

See Also

About Testing Android Applications
Android ExpandableList Support
Addressing Expandable List Groups and Items
wItem Property (Mobile Controls)

Highlight search results