Item Property

Description

Returns the library file located in the specified position.

Property type

Read-only property

Syntax

Visual Basic
Public Property Item( _
   ByVal Position As Long _
) As String

Parameters

Position

The position of the library folder you want to retrieve. Position values begin with 1.

Return Type

The file or 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)

Remarks

Item is the default property for the TestLibraries object. Therefore, you can also retrieve or set this value using the following syntax:

TestLibraries(Position)= NewPath

or

CurrentPath= TestLibraries(Position)

Example

MoveToPos Method

See Also

TestLibraries Collection