CallServiceTest Statement

You can use this statement only for tests created with OpenText Functional Testing 11.52 or earlier. You should replace this statement with the RunAPITest statement. For details on this statement, see the RunAPITest Statement.

Description

Loads and runs the specified Service Test or API test when this step runs.

Syntax

var_CallServiceTest = CallServiceTest(ServiceTestName, ServiceTestParams)

Argument

Type

Description

ServiceTestName

String

The name of the Service Test or API test to which you inserted a call using the Call to Test/Action dialog box.

ServiceTestParams

String

The XML file containing the list of test arguments and the values you defined in the Call to Test/Action dialog box.

Return Value

Variant. Returns an output value in XML format.

IMPORTANT

You add this statement using the Call to Test/Action dialog box. You cannot add this statement manually in the Editor. For more details about the Call to Test/Action dialog box, see the OpenText Functional Testing User Guide.

The Service Test or API test is loaded only when the step runs (and not when the test opens). This can affect test maintenance because no warning is displayed if the called Service Test or API test is moved or deleted.

 

See also: