Unexpected Cannot Save File Dialog in LabVIEW Unit Test Framework

Updated May 4, 2026

Reported In

Software

  • LabVIEW
  • LabVIEW Unit Test Framework Toolkit

Issue Details

I receive a Cannot save file dialog after running unit tests in a LabVIEW project that uses the LabVIEW Unit Test Framework.

After the test run completes, LabVIEW prompts me to select a new location to save the report. Even after selecting a valid path, the dialog can appear again in later test runs.

 

Solution

This issue can occur when the HTML report path stored in the LabVIEW project points to an unavailable or user-specific location, such as another user’s desktop or OneDrive folder.

To resolve this issue, update the HTML report path in the project settings:

  1. Open the LabVIEW project that contains your Unit Test Framework tests.
  2. Select Project >> Properties. 
  3. In the Categories list, select Unit Test Framework
  4. In the Generate Reports section, locate the HTML Report settings.
  5. Check the current value in the report path field to ensure that it does not point to an unavailable location, such as another user’s local desktop or OneDrive folder.
  6. Enter a valid path for the HTML report on your system.
  7. Click OK to save the project properties.
  8. Run the unit tests again.

If the dialog was caused by an invalid stored report path, it should no longer appear after the path is updated.

Additional Information

The HTML report path for the LabVIEW Unit Test Framework is stored in the LabVIEW project. If a project is shared through source control, this setting can be carried over to other systems. As a result, a report path that is valid for one developer may trigger the Cannot save file dialog on another machine.

Before running unit tests on a shared project, review the configured HTML report path and make sure it points to a valid location for the current user.

To follow the steps in this article, make sure the NI LabVIEW Unit Test Framework Toolkit Support for LabVIEW add-on is installed on your system.