Adding Sequence Call Step Results to an XML Report without Indentation

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

horizontal.xsl

Change the value of the global JavaScript variable gIndentTables from True to False in the horizontal.xsl file to disable indentation of the Sequence Call step result tables in the report.

Note Note  Flow Control steps continue to indent even with this customization.

The following figure shows a modified report that includes Sequence Call steps without indentation using horizontal.xsl:

Modified Report that Includes Sequence Call Steps without Indentation Using horizontal.xsl

report.xsl

Complete the following steps in the report.xsl file to disable indentation of the Sequence Call step result tables in the report.

  1. Open the report.xsl file.
  2. Search for all instances of the REMOVE_INDENTATION comment.
  3. Comment out <xsl:value-of select="user:SetIndentationLevel(user:GetIndentationLevel() + 1)"/> and <xsl:value-of select="user:SetIndentationLevel(user:GetIndentationLevel() - 1)"/> by replacing the code with <!-- <xsl:value-of select="user:SetIndentationLevel(user:GetIndentationLevel() + 1)"/> --> and <!-- <xsl:value-of select="user:SetIndentationLevel(user:GetIndentationLevel() - 1)"/> -->, respectively.
Note Note  Flow Control steps continue to indent even with this customization.

The following figure shows a modified report that includes Sequence Call steps without indentation using report.xsl:

Modified Report that Includes Sequence Call Steps without Indentation Using report.xsl

expand.xsl

Complete the following steps in the expand.xsl file to disable indentation of the Sequence Call step result tables in the report.

  1. Open the expand.xsl file.
  2. Search for all instances of the REMOVE_INDENTATION comment.
  3. Comment out <xsl:value-of select="user:SetIndentationLevel(user:GetIndentationLevel() + 1)"/> and <xsl:value-of select="user:SetIndentationLevel(user:GetIndentationLevel() - 1)"/> by replacing the code with <!-- <xsl:value-of select="user:SetIndentationLevel(user:GetIndentationLevel() + 1)"/> --> and <!-- <xsl:value-of select="user:SetIndentationLevel(user:GetIndentationLevel() - 1)"/> -->, respectively.
Note Note  Flow Control steps continue to indent even with this customization.

The following figure shows a modified report that includes Sequence Call steps without indentation using expand.xsl:

Modified Report that Includes Sequence Call Steps without Indentation Using expand.xsl

WAS THIS ARTICLE HELPFUL?

Not Helpful