Generating a Test Report
- Updated2025-11-07
- 2 minute(s) read
- Open a VI that executes tests programmatically.
- Add the Create Report VI to the block diagram.
-
Wire the test results out output of the Open
Results Window VI to the test results in
input of the Create Report VI.
Note You also can wire the test results out output of the Open Results Window VI to the test results in input of the Run Tests from Project VI or the Run Tests from Files VI.
-
Right-click the report type input of the Create
Report VI and select from the shortcut menu.
A front panel control appears to the left of this VI. This control represents the type of report that this VI generates after test execution.
-
Click the report type control and select the type of
report this VI generates.
The default report type is HTML.
-
Right-click the report path input of the Create
Report VI and select from the shortcut menu.
A front panel control appears to the left of this VI. This control represents the path to which this VI generates the test report.
-
Click the report path control and select the path to
which this VI generates the test report.
Note If you do not select a path for the report, LabVIEW generates the report in the My Documents\LabVIEW Data directory.
-
Wire all error in and error out terminals on the block diagram. The block
diagram now resembles the following figure:
Note You can customize the test report by wiring values to the remaining inputs of the Create Report VI. - Select and save this VI in an easily accessible location.
- Click the Run button to run the VI.