ControlIndexInGroup Property (Flex Objects)

Applies to TestComplete 15.65, last modified on July 17, 2024
This property is not supported in web tests (including cross-platform web tests) that use XPath expressions and CSS selectors to locate web elements. This property can be only used in tests that locate web objects by using internal identification properties provided by TestComplete.


The ControlIndexInGroup property returns the object’s index among other objects that have the same type and belong to the same parent object. This index can be used to uniquely identify the given object. Also, this index is used to address the object in case the object does not have an accessible name specified.



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 Flex objects.

View Mode

To view this property in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.

Property Value

A zero-based integer number that specifies the object’s index among sibling objects of the same type.

Note: For invisible objects (Visible = false), the ControlIndexInGroup property always returns -1.

See Also

Caption Property (Flash and Flex Objects)
ControlIndex Property (Flex Objects)
DoDefaultAction Method (Flex Objects)

Highlight search results