AddExistingAPITest Method

Description

Adds a call to an existing API test from the current test.

Syntax

Visual Basic
Public Function AddExistingAPITest( _
   ByVal Path As String, _
   ByVal ActionPosition As qtActionPosition _
) As APITest

Parameters

Path

The full path to the existing API test. It could be a local or ALM path.

ActionPosition

Indicates whether the call to the existing API test will be added as the first or last step in the test.

ValueDescription
qtAtBeginingThe beginning of the test.
qtAtEndThe end of the test.

Remarks

Using this method, you can add the existing API test only to the beginning or end of the current action.

Example

See Also

Action Object  | Action Members