How to Disable the Indentation of Subsequence in Teststand Report?

Updated Oct 25, 2024

Environment

Software

  • TestStand

In TestStand, reports are generated with lowered indentation based on the sequence call steps. How can I disable indentation in report file?
The indentation property is set in the report style sheet. To disable this indentation, you need to modify the indentation property in the corresponding style sheet.

  1. To check the report template (Style Sheet) used in your TestStand software,  go to Configure>>Result Processing.

TS Step11.png
 
  1. Click on the <Report> settings (red arrow) in the pop up window, to open the report options settings.
 
TS Step2.png
 
  1.  unfold Style sheet selection tab to check which Style Sheets your TestStand uses.
(It is important the verify which Style sheets files are used in your TestStand, If you edit anything other than these Style Sheet files, the edited contents will not be reflected.
In this case, the report Style Sheets used are TR5_Horizontal.xsl, TR5_report.xsl, and TR5_expand.xsl.)

TS Step3.png
 
  1. Search for the above sheet in the TestStand folder. In this case, they are located in:
C:\Program Files\National Instruments\TestStand 2022\Components\Models\TestStandModels\ATML\StyleSheets
 
TS Step4.png
 
  1.  Select the Style sheet you wants to edit and open it with Notepad.
  2. Search for "Indentation" in the .xsl file and make the following changes and save the file.
Replace
<xsl:variable name="gRemoveIndentationFunctionality" select="false()"/> with
<xsl:variable name="gRemoveIndentationFunctionality" select="true()"/>
 

 TS Step6.png
 
  1. Restart TestStand to reflect the changes performed above.

The results of edited report Style sheet is as below  ( tr5_horizontal.xsl Style Sheet).

TS result.png