ni.com is currently undergoing scheduled maintenance.
Some services may be unavailable at this time. Please contact us for help or try again later.
To download NI software, including the products shown below, visit ni.com/downloads.
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:
This example stylesheet was written for TestStand 2016 - to use it with a different version of TestStand, modify the PropertyObjectFile stylesheet version reference:
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ts="http://www.ni.com/TestStand/19.0.0/PropertyObjectFile" exclude-result-prefixes="ts">
msxsl <path to analyzer report> <path to example stylesheet> -o <path to output xml file>
TestStand Sequence Analyzer Stand-Alone Application
MSDN: Translating from One XML Schema to Another
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.