ReplaceAPITest Method

Supported in UFT One version 23.4 and later.

Description

Replaces an external API test called from the current test 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 test.
newAPITestPathThe path to the new external API test to be called from the current test.

Remarks

This method is valid only for GUI tests.

Example

See Also