Changing the Display Format of Execution Time in an ATML Test Results 6.01 or 5.0 Report

XSL and JavaScript code generate the HTML code for the execution time information, for which the default display is in seconds. Complete the following steps to display the execution time information in Hour:Minutes:Seconds format.

  1. Open the .xsl file you want to change.
  2. Search for the CHANGE_TOTAL_TIME_FORMAT comment.
  3. Delete the following line of code: <xsl:value-of select="tr:ResultSet/tr:Extension/ts:TSStepProperties/ts:TotalTime/@value"/> seconds
  4. Uncomment the following lines of code:
    <xsl:call-template name="GetTotalTimeInHHMMSSFormat">
        <xsl:with-param name="timeInSeconds" select="tr:ResultSet/tr:Extension/ts:TSStepProperties/ts:TotalTime/@value"/>
    </xsl:call-template>

TR6_Horizontal.xsl or TR5_Horizontal.xsl

The following figure shows the modified execution time in a report using the TR6_Horizontal.xsl or TR5_Horizontal.xsl file.

TR6_report.xsl or TR5_report.xsl

The following figure shows the modified execution time in a report using the TR6_report.xsl or TR5_report.xsl file.

TR6_Expand.xsl or TR5_Expand.xsl

The following figure shows the modified execution time in a report using the TR6_Expand.xsl or TR5_Expand.xsl file.