Find Method

Description

Finds the position of the specified library file.

Syntax

Visual Basic
Public Function Find( _
   ByVal LibraryPath As String _
) As Long

Parameters

LibraryPath

The file system or ALM path of the function library file you want to find.

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.)

Return Type

The Find method returns -1 if the specified library path is not found.

Example

Check Whether a Library File is Associated with a Test

See Also

TestLibraries Collection