Adding Sequence Call Step Results to an XML Report without Indentation
- Updated2025-07-23
- 2 minute(s) read
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.
The following figure shows a 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.
- Open the report.xsl file.
- Search for all instances of the REMOVE_INDENTATION comment.
- 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.
The following figure shows a 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.
- Open the expand.xsl file.
- Search for all instances of the REMOVE_INDENTATION comment.
- 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.
The following figure shows a modified report that includes Sequence Call steps without indentation using expand.xsl: