ReplaceAPITest Method

Supported in UFT One version 23.4 and later.

Description

Replaces an external API test called from the current action with another API test.

Syntax

Visual Basic
Public Function ReplaceAPITest( _
   ByVal oldAPITestName As String, _
   ByVal newAPITestPath As String, _
)

Parameters

oldAPITestNameThe name of the API test called from the current action.
newAPITestPathThe path to the new external API test to be called from the current action.

Remarks

This method is valid only for GUI tests.

Example

See Also

Action Object