SaveAs Method

Supported in UFT One versions 2022 and later.

Description

Saves the application area with a new name.

Syntax

Visual Basic
Public Sub SaveAs( _
   ByVal Path As String, _
) 

Parameters

Path

The full path of the application area. The path must be an ALM path.

Remarks

To save the open and existing application area, use the AppArea.Save method.

Example

The example saves an application area with a new name.

Copy code
uftApp.OpenAppArea("[ALM\Resources] Resources\manual\AA\AA1")
uftApp.AppArea.SaveAs "[ALM\Resources] Resources\manual\Add FL to AA\AA1-New"

See Also

AppArea Object | AppArea Object Members