PathFinder Object

Description

Enables you to find file paths.

Methods

Method LocateReturns the full file path that UFT One uses for the specified relative path (resolves the path) based on the folders specified in the Folders search list (Tools > Options > GUI Testing tab > Folders pane) of the Options dialog box.

Back to top

Locate Method

Description

Returns the full file path that UFT One uses for the specified relative path (resolves the path) based on the folders specified in the Folders search list (Tools > Options > GUI Testing tab > Folders pane) of the Options dialog box.

For more details on the Folders search list, see the Micro Focus UFT One User Guide.

Syntax

PathFinder.Locate (RelativePath)

Argument

Type

Description

RelativePath

String

The relative path you want to resolve.

Return Value

String

Back to top

See also: