Example Programs

Showing results for 
Search instead for 
Did you mean: 

Converting TestStand Sequence Analyzer reports to JUnit


TestStand XML reports can be converted to other formats using eXtensible Stylesheet Language Transformations (XSLT). This can be useful for importing Analyzer Warnings or Errors into a tool that is not compatible with the TestStand XML report schema.



This example stylesheet can be used to convert TestStand Sequence Analyzer results to a JUnit format compatible with the Jenkins JUnit plugin. This allows users to view basic analyzer results in Jenkins:



Hardware and Software Requirements

NI TestStand

Command Line Transformation Utility (msxsl.exe)

Steps to Implement or Execute Code

  1. Download the attached stylesheet and msxsl.exe from Microsoft.
  2. Run the TestStand Sequence Analyzer and save the generated XML report.
  3. Run the following command in the Windows command prompt:
    msxsl <path to analyzer report> <path to example stylesheet> -o <path to output xml file>