Applies to TestComplete 14.70, last modified on October 26, 2020

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