BuiltIn.ParamStr Method

Applies to TestComplete 14.92, last modified on September 16, 2021

Description

Returns an argument from the TestComplete command line by the argument’s index. The command text (its index is 0) specifies the full path and name of the TestComplete executable. The total number of arguments in the command line (the arguments only, the command text is not processed here) is specified by ParamCount.

This method is available if the BuiltIn plugin is installed and enabled. The plugin is installed and enabled by default.

Declaration

BuiltIn.ParamStr(Index)

Index [in]    Required    Integer    
Result String

Applies To

The method is applied to the following object:

Parameters

The method has the following parameter:

Index

The index of the desired argument in the TestComplete command line.

Note: The index of the arguments is not zero-based. However, you can use the 0 index to access the fully-qualified name of the TestComplete executable.

Result Value

A string that corresponds to the desired command-line argument.

See Also

TestComplete Command Line
ParamCount Method

Highlight search results