ParamValue Property

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

Description

The TestItemElement.ParamValue property returns the value of the test item parameter specified by its index. In your project, you can view parameters in the Parameters column of the Test Items page.

Declaration

TestItemElementObj.ParamValue(Index)

Read-Only Property Variant
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 parameter value, if any is specified. If the test item corresponds to a tag expression, the property returns the expression.

Remarks

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

See Also

Test Items Page (Project Editor)
ParamCount Property
ParamName Property
ParamType Property

Highlight search results