Save Method

Supported in UFT One version 2022 and later.

Description

Saves the application area.

Syntax

Visual Basic
Public Sub Save()

Remarks

Use this method to save existing application areas. To save an existing application area as a new one, use the AppArea.SaveAs method.

Example

The following example first checks out an application area, adds a function library to the application area, saves and then checks in the application area.

Copy code
uftApp.OpenAppArea "[ALM\Resources] Resources\manual\AA\AA-version"
uftApp.AppArea.CheckOut
Set AAFunctionLibraries = uftApp.AppArea.Resources.Libraries ' Get the libraries collection object
Dim file1
file1 = "[ALM\Resources] Resources\manual\Add FL to AA\FL2.qfl|[ALM] Subject\manual\FL to AA\FL7.qfl"
AAFunctionLibraries.Add (file1)
uftApp.AppArea.Save
uftApp.AppArea.CheckIn

See Also

AppArea Object