Object Model Reference for GUI Testing > Utility Objects > Locate Method

PathFinder Object

Description

Enables you to find file paths.

Methods

Method Locate Returns the full file path that UFT 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 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 HPE Unified Functional Testing 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: