Relevant for: GUI tests and components
Relative paths are useful if your test's resources are stored in the file system and you want other users or products to be able to run this test on other computers.
During a run session, UFT searches for the resource file in the folder for the current test or component, and then in the folders listed in the Folders pane of the Options dialog box (Tools > Options > GUI Testing tab > Folders node).
Note: If you are working with the Resources and Dependencies model with ALM, specify an absolute ALM path.
UFT then prompts you to do one of the following:
|Define the path
using the relative path
This occurs if the resource path you specify matches an existing search path in the Folders pane.
If part of the path you enter matches more than one path in the Folders pane, the closest match is applied.
For example, if both C:\Current_Version and C:\Current_Version\Libraries are defined in the search path list, the latter is applied.
|Add the resource's
location path to the
Folders pane /
define the path relatively
This occurs if the resource path you specify does not match an existing search path in the Folders pane.