AAFunctionLibraries Collection

Supported in UFT One versions 2022 and later.

Description

A collection that 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

Public Method AddAdds a function library file to the specified position in the collection.
Public Method FindFinds the position of the specified function library file.
Public Method MoveToPosMoves the function library file entry from the current position to the specified new position.
Public Method Remove

Removes the function library file from the function library list.

Public Method RemoveAllRemoves all the function library files from the function library list.

Public Properties

Public Property CountThe number of function library files in the collection.
Public Property ItemReturns the function library file located in the specified position.

Example

The following example adds a function library file to the new application area.

Copy code
uftApp.NewAppArea "[ALM\Resources] Resources\manual\AA\AA3"

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)

See Also

AAFunctionLibraries Collection Members