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 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 (Legacy)