Information in this topic applies only to web tests that implement the default approach. This property is not supported in cross-platform web tests. |
Description
Use the ObjectGroupIndex
property to get the index of an object in a group of objects with the same object type that have the same identifier and label or do not have specified names, identifiers and labels at all. The ObjectGroupIndex
property is used by TestComplete to address Flash and Flex objects that cannot be uniquely identified by their name, identifier and label.
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
This property is applied to all the Flash and Flex 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 holding the object’s index.