Customizing the UUT Report Header in an XML Report

TestStand 2017 Help

Edition Date: November 2017

Part Number: 370052W-01

»View Product Info

Download Help (Windows Only)
NI TestStand 2014 Help
NI TestStand 2014 SP1 Help
TestStand 2016 Help
TestStand 2016 SP1 Help
TestStand 2017 Help

You can add columns and corresponding data to the UUT Report header in reports that use the horizontal.xsl. You can add rows and corresponding data to the UUT Report header in reports that use the report.xsl or expand.xsl.

Complete the following steps to add extra columns or rows to the report header.

  1. Open the .xsl file you want to change.
  2. Complete the following steps in the horizontal.xsl, report.xsl, and expand.xsl files to create an extra column and the corresponding data in the UUT header table to show the type of report generated.
    1. Search for the CREATE_UUTHEADER_INFO comment.
    2. Remove the comment tags from around the following code that appears after the CREATE_UUTHEADER_INFO comment:

      <tr valign="top">

      <td style="white-space:nowrap">

      <span style='font-size:0.6em'>

      <b>Type of Report</b>

      </span>

      </td>

      <td style='white-space:nowrap'>

      <span>

      <xsl:attribute name="style">font-size:0.6em;</xsl:attribute>

             <xsl:value-of select="@Type"/>

      </span>

      </td>

      </tr>

horizontal.xsl

The following figure shows a modified report header showing the report type using horizontal.xsl:

Modified Report Header Showing Report Type Using horizontal.xsl

report.xsl

The following figure shows a modified report header showing the report type using report.xsl:

Modified Report Header Showing Report Type Using report.xsl

expand.xsl

The following figure shows a modified report header showing the report type using expand.xsl:

Modified Report Header Showing Report Type Using expand.xsl

WAS THIS ARTICLE HELPFUL?

Not Helpful