BuiltIn.ParamStr Method

Applies to TestComplete 15.46, last modified on December 01, 2022


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.



Index [in]    Required    Integer    
Result String

Applies To

The method is applied to the following object:


The method has the following parameter:


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