CommandLine Property

Applies to TestComplete 14.30, last modified on November 21, 2019

Description

The CommandLine property specifies the command line that was used to launch the application process. It includes the fully-qualified name (including the path) of the application executable and all command-line arguments passed to it.

To get the application file path without command-line arguments, use the Path property.

Declaration

TestObj.CommandLine

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

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 that holds the command line used to launch the specified application process.

See Also

Path Property
ProcessName Property
ProcessType Property
FileVersionInfo Property

Highlight search results