How do I troubleshoot the error message "Both the runtime Dir/File and Truelog File locations are invalid" when running a test from SilkCentral TestManager?

0 Likes

Problem:

How do I troubleshoot the error message "Both the runtime Dir/File and Truelog File locations are invalid" when running a test from SilkCentral TestManager?

Resolution:

QUESTION
----------------------------------

How do I troubleshoot the error message "Both the runtime Dir/File and Truelog File locations are invalid" when running a test from SilkCentral TestManager?

ANSWER
----------------------------------

When running a SilkTest testscript from SilkCentral Test Manager (SCTM), TestManager will set your output results directory (options/ runtime/ results) files to your temporary working folder location for SCTM by default. This temporary working folder is created and then destroyed at the beginning and at the end of a test run in SCTM.

If you edit a SilkTest script that has already been run through SCTM and is still associated with SCTM the compiler for SilkTest will recompile after any editing takes place and the location of your results directory having been set to the now non-existent working folder will result in this error message; "Both the runtime Dir/File and Truelog File locations are invalid".

To workaround this issue open your Options/Runtime dialogbox and manually delete the Results output destination path, and leave it blank. This path will be reset when you rerun the test through SCTM.

It stands to reason as a best practice to only associate completed and verified SilkTest test scripts with SCTM, that do not need to be edited.

Old KB# 24550
Comment List
Anonymous
Related Discussions
Recommended