Why do I get GUI-Level testing "Error: Directory XXXX does not exist"?

Why do I get GUI-Level testing "Error: Directory XXXX does not exist"?

If the machine running the SilkPerformer GUI-Level test does not contain the same path to the client / server application this error is thrown.

GUI-Level Testing Replay: 11 - SilkTest reported, Log Error: *** Error: Directory "C:\Documents and Settings\NTUserA\App.exe" does not exist


This often happens when a SilkTest project is created on one machine and exported to another.
The reason it occurs is because SilkTest contains a setting for the working directory of the application which is being tested. If the name of this directory contains any user specific information (for example C:\Documents and Settings\NTUserA\App.exe) which does not exist on the SilkPerformer MMC, or Agent machine then SilkTest cannot find the directory and the test fails.

To prevent this error it is necessary to change the directory target in SilkTest and export the project again.
The directory setting is found: SILKTEST | GLOBAL | WINDOW DECLARATIONS | PROJECTNAME (FRAME1.INC)

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2013-02-15 18:37
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.