ProcessName Property

Applies to TestComplete 15.68, last modified on October 03, 2024

Description

Returns the name (without extension) of the executable file that started the process. For example, notepad, winword, iexplore.

Note that this name is not the same as the one returned by the Name property - the latter specifies the process object name in the Object Browser.

Declaration

TestObj.ProcessName

Read-Only Property String
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

This property is available in the Object Browser panel and in other panels and dialogs in both Basic and Advanced view modes.

Property Value

A string holding the executable file name (without extension).

Example

For an example of using the ProcessName property, see Process List. Example.

See Also

Name Property
Path Property
CommandLine Property
ProcessType Property
ProcessId Property
Index Property

Highlight search results