ObjectGroupIndex Property (iOS Objects)

Applies to TestComplete 14.72, last modified on January 19, 2021

Description

Use the ObjectGroupIndex property to get the index of an object in a group of objects of the same type that belong to the same parent and do not have a caption. The ObjectGroupIndex property is used by TestComplete to address iOS objects that cannot be uniquely identified by their type or content.

Declaration

TestObj.ObjectGroupIndex

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

All iOS objects

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

An integer value containing the object’s index.

See Also

ObjectType Property (Mobile Objects)
Addressing Objects in iOS Applications

Highlight search results