Index Property (Android Objects)

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

Returns the object index among other objects with the same name.

A process’s index automatically decreases after a process with smaller Index is closed.

Declaration

TestObj.Index

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:

All Android 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

An integer number (1-based) that specifies the object index.

See Also

Testing Android Applications (Legacy)
Addressing Objects in Android Open Applications (Legacy)
Keys Action (Android Objects)

Highlight search results