Close Method

Supported in versions 2022 and later.

Description

Closes the current application area.

Syntax

Visual Basic
Public Sub Close()

Example

The following example opens an application area, adds a function library file, and saves and closes the application area.

Copy code
uftApp.OpenAppArea("[ALM\Resources] Resources\manual\AA\AA1")

Set AAFunctionLibraries = uftApp.AppArea.Resources.Libraries ' Get the libraries collection object
Dim file6

file6 = "[ALM] Subject\manual\FL to AA\FL6.qfl"

AAFunctionLibraries.Add (file6)

uftApp.AppArea.Save
uftApp.AppArea.Close

See Also

AppArea Object