NI Requirements Gateway Cannot Find My TestStand Sequence File Using Relative Paths

Updated Apr 3, 2023

Reported In

Software

  • Requirements Gateway

Issue Details

The TestStand sequence file in my NI Requirements Gateway project is not loading after moving my .rqtf file and directory, but keeping the folder structure and relative paths the same. I get the following error showing:
TestStand Sequence/Workspace TestStand
Path: [Path of .seq] 
Version: unknown
Error: Cannot load Sequence file

ReqGwy error.png

Solution

NI Requirements Gateway will use relative paths by default when the Save Absolute Paths option is not selected (See additional information). The project will automatically track path changes to the project file's location and automatically update the relative paths of items in the project. 

The files or folders being tracked however need to be in the same directory or sub-directory as the .rqtf project file to utilise this behaviour. This is an example folder structure, where all files in these sub-folders will be saved relative to the .rqtf file. Moving the whole directory to another machine, location, drive will not affect the ability to load the files. However, NI Requirements Gateway will not automatically update paths of files from directories in the levels up from the .rqtf file.

Example folder structure
ReqGwy Example Folder Structure.png


For information on using TestStand with NI Requirements Gateway, see the guide on Coupling NI TestStand with NI Requirements Gateway .

If NI Requirements Gateway is having trouble finding the files in general, you can try these steps:
  • Ensure your filepaths are correct in the NI Requirements Gateway application, using Tools>>Options>>Project.
  • Ensure the files are on disk and openable in their normal application, for example a sequence file in TestStand or a .docx in Microsoft Word.
  • Open a new project and add the documents to ensure the settings and method you used works in general.

Additional Information

The Save absolute paths option can be found in Tools>>Options>>General (tab).

Requirements Gateway - Save Absolute Paths option