LoadFunctionLibrary Statement

Description

Loads the specified function library when this step runs. After the function library is loaded, the definitions in the library (functions, subroutines, classes, and so forth) are available.

Note: This statement provides functionality similar to that provided by the ExecuteFile Statement, with the following differences:

  • LoadFunctionLibrary enables you to debug the functions in the function library during run-time.

  • For tests, the definitions in a function library loaded by LoadFunctionLibrary statement are available globally until the end of the run session, whereas the definitions in a file run by ExecuteFile statement are available only within the scope of the action that called the statement.

    For components, in both cases the definitions are available in the scope of the component that called the statement.

Syntax

LoadFunctionLibrary(Path)

Argument Type Description
Path String

The path (or paths) of the function library to load.

You can specify one or more absolute file system paths, relative paths, or ALM paths for both tests and components. If you specify multiple paths, separate them using a comma delimiter.

Return Value

Variant.

IMPORTANT

 

See also: