RoutineResult Property

Applies to TestComplete 15.20, last modified on January 19, 2022

Description

Use the RoutineResult property to obtain the result of a script routine executed with the RunRoutine or RunRoutineEx function.

Declaration

IntegrationObj.RoutineResult

Read-Only Property Variant
IntegrationObj An expression, variable or parameter that specifies a reference to an Integration object

Applies To

The property is applied to the following object:

Property Value

The value returned by the script routine that was called by RunRoutine or RunRoutineEx.

Remarks

The result the script routine returns is stored in the RoutineResult property value until you obtain it, so if you try to get the property value once again after you have already obtained it, it will return an empty value (Nothing in VBScript, None in Python, null in JavaScript, JScript, C++Script and C#Script, and nil in DelphiScript).

See Also

Working With TestComplete via COM - Overview
RunRoutine Method
RunRoutineEx Method

Highlight search results