Knowledge Base Article

Home Page > Knowledge Base > Rapise

Home Page > Knowledge Base > Rapise > Rapise Desktop

Home Page > Knowledge Base > Rapise > Rapise Mobile

Home Page > Knowledge Base > Rapise > Rapise Web

Article Rapise - Cannot Find AllLibraries.json file during Recording/Playback

by Adam S on Monday, August 29, 2016

When recording or playing back a test script on a new PC you may get an error message that Rapise cannot find the path to "AllLibraries.json".This article provides instructions on how to fix the issue.
On Windows XP you will see a message that looks similar to:

C:\Documents and Settings\All Users\Documents\Rapise\Scripts\AllLibraries.json

On Windows 7 and later you will see a message that looks similar to:

C:\ProgramData\Documents\Rapise\Scripts\AllLibraries.json

In either case the problem is the same, it means you have a missing junction / symbolic link in Windows that should normally redirect the following location:
  • C:\ProgramData\Documents → C:\Users\Public\Documents
The solution is to recreate the missing Junction / Symbolic link by doing the following:
  1. Open an administrator Command Prompt.  Enter “command” in your start menu search, right-click on Command Prompt, and select “Run as administrator”.

  2. To create the symbolic link, enter the following in command prompt:

    mklink /J C:\ProgramData\Documents C:\Users\Public\Documents

That should fix the issue.

For those interested, the following options are available to the MKLINK.exe command:

  • /D – creates a soft symbolic link, which is similar to a standard folder or file shortcut in Windows.  This is the default option, and mklink will use it if you do not enter a prefix.
  • /H – creates a hard link to a file
  • /J – creates a hard link to a directory or folder
Attachments
Article Info
Last Updated: 8/29/2016
Article ID: KB217
# Views: 64
Powered by KronoDesk v1.1.0.15 | © Copyright Inflectra Corporation 2011-2016 | Licensed to Inflectra Corporation.