wGroupCount Property (Android Controls)

Applies to TestComplete 15.69, last modified on November 13, 2024
This property 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.

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 (Legacy)
Android ExpandableList Support
Addressing Expandable List Groups and Items
wItem Property (Mobile Controls)

Highlight search results