Overview
TestStand ATML reports can be converted to other formats using eXtensible Stylesheet Language Transformations (XSLT). This can be useful for importing Test Results into a tool that is not compatible with the TestStand ATML Test Result schema.
Description
This example takes an ATML 6.0.1 report and converts it to a JUnit report format compatible with the Jenkins JUnit plugin. This allows users to view step results in Jenkins:
Note: This example stylesheet only converts basic test result data into JUnit - such as Step Name and Step Status. This stylesheet can be modified to include additional failure information for specific step types.
Steps to Implement or Execute Code
- Download the attached stylesheet and msxsl.exe from Microsoft.
- Generate a TestStand ATML Report using the report plugin.
- Run the following command in the Windows command prompt:
msxsl <path to test report> <path to example stylesheet> -o <path to output xml file>
https://www.linkedin.com/in/trentweaver