Customizing XML test results

In order to customize the layout of XML test results, you are required to edit XSLT style sheets.

Displaying XML with XSLT

XSLT is the style sheet language for XML. With XSLT you can add/remove elements and attributes to or from the XML result files. You can also rearrange and sort elements, and make decisions about which elements to hide and display in the XML results, and a lot more. (Learn more.)

You are free to customize how the test results are displayed, as long as you understand the XML Schema and XSLT syntax. However, a tutorial on XSLT is beyond the scope of this help system. For more information on XSLT, you can refer to this XSLT Tutorial.

Modifying a set of XSL files

Go to the following location, and then modify .xsl files as you wish.

  • Windows: {TA_INSTALL_DIR}\templates\xsl\
  • Linux: /usr/local/logigear/testarchitect/templates/xsl/
  • macOS: /Applications/TestArchitect/templates/xsl/

To understand the structure and the contents of XML test results, you may refer to the XML Scheme. This file is located at the following location:

  • Windows: {TA_INSTALL_DIR}\tahelp\data\XMLResult.xsd
  • Linux: /usr/local/logigear/testarchitect/tahelp/data/XMLResult.xsd
  • macOS: /Applications/TestArchitect/tahelp/data/XMLResult.xsd

Example - Removing the ‘Result Details’ tab in test results
Explain steps to remove the Result Details tab in test results.

Example - Changing date format in test results
Explain steps to change date format in test results.

Adjusting the number of truncated iterations and pagination page
Explain steps to adjust several parameters to optimize HTML test results.

Copyright © 2024 LogiGear Corporation. All rights reserved. LogiGear is a registered trademark, and Action Based Testing and TestArchitect are trademarks of LogiGear Corporation. All other trademarks contained herein are the property of their respective owners.

LogiGear Corporation

1730 S. Amphlett Blvd. Suite 200, San Mateo, CA 94402

Tel: +1 (650) 572-1400