ParamType Property

Applies to TestComplete 15.70, last modified on December 17, 2024

Description

The TestItemElement.ParamType property returns the type of the test item parameter specified by its index. In your project, you can view parameters in the Parameters column of the Execution Plan editor.

Declaration

TestItemElementObj.ParamType(Index)

Read-Only Property Integer
TestItemElementObj An expression, variable or parameter that specifies a reference to a TestItemElement object
Index [in]    Required    Integer    

Applies To

The property is applied to the following object:

Parameters

The property has the following parameter:

Index

The zero-based index of the desired parameter in the list of parameters. To get the total number of parameters, use the TestItemElement.ParamCount property.

Property Value

The property always returns 3, which corresponds to the Variant data type (in scripts, all the variables and parameters are Variant).

Remarks

If you use Python or DelphiScript, enclose the Index parameter value in square brackets: ParamType[Index].

See Also

Execution Plan Editor
ParamCount Property
ParamName Property
ParamValue Property

Highlight search results