BuiltIn.ParamCount Method

Applies to TestComplete 14.70, last modified on April 22, 2021

Description

Returns the number of command-line arguments passed to TestComplete at start.

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

Declaration

BuiltIn.ParamCount()

Result Integer

Applies To

The method is applied to the following object:

Result Value

An integer value that means the total number of arguments passed to TestComplete via its command line.

This number includes the number of arguments only. In other words, the property does not take into account the command (the name of the executable) entered in the command line window.

See Also

TestComplete Command Line
ParamStr Method

Highlight search results