Supported in UFT One versions 2022 and later.
Public Property Item( _ ByVal Position As Long _ ) As String
The position of the function library file you want to retrieve. Position values begin with 1.
The ALM path of the specified function library file.
The ALM path is the location of the file in ALM. For example:
[ALM\Resources] Resources\Libraries\Library1.qfl (for a file stored in the Test Resources module) or [ALM] Subject\qtp95\Library1.qfl (for a file stored as an attachment)
Item is the default property for the AAFunctionLibraries object. Therefore, you can also retrieve or set this value using the following syntax:
AAFunctionLibraries(Position) = NewPath
CurrentPath = AAFunctionLibraries(Position)
The following example returns the first function library from the function library list.
Set AAFunctionLibraries = uftApp.AppArea.Resources.Libraries
MsgBox AAFunctionLibraries.Item (1)