Resources Object

Supported in UFT One versions 2022 and later.

Description

Represents the top part of the Resources pane of the Application Area Settings dialog box, which enables you to specify the function library files associated with the current application area.

Public Methods

None

Public Properties

Public Property LibrariesReturns the AAFunctionLibraries object, which is a collection of the function library files associated with the application area.

Example

The following example creates a new application area, adds a function library file, and saves the application area.

Copy code
uftApp.NewAppArea "[ALM\Resources] Resources\manual\AA\AA1"
Set AAFunctionLibraries = uftApp.AppArea.Resources.Libraries ' Get the libraries collection object
Dim file1
file1 = "[ALM\Resources] Resources\manual\Add FL to AA\FL1.qfl"
AAFunctionLibraries.Add (file1)
uftApp.AppArea.Save

See Also

Resources Object Members