Index Property (Process and Browser Objects)

Applies to TestComplete 14.20, last modified on September 11, 2019

Description

Returns the process index among other processes with the same name (that is, processes started by both the same executable file and files with the same name but at a different location).

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 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 process index.

See Also

ProcessName Property
ProcessType Property

Highlight search results