TestStand Unable to Display the Report

Updated Sep 30, 2024

Reported In

Software

  • TestStand

Issue Details

  • I am getting the error as below when I run the TestStand sequence file. How do I solve this error?
    Unable to display the report
    The file size is greater than the maximum display size, 20 MB.
    Use a browser to open the report from:
    <Report Saved File Path>

Teststand unable to display report.png
  • When I run the same test sequence file using two different versions of TestStand, I notice that using TestStand 2021 SP1 will get an error during the report viewing. I am able to display the report correctly using TestStand 2019.

Solution

To solve the above issue, you may need to add a .ini file under <TesttStand Public Directory>\Components\Language\English with the following content.

[TSUI_REPORTVIEW]
MAX_HTML_FILE_SIZE_BYTES = "20000000"
MAX_XML_FILE_SIZE_BYTES = "20000000" 


It does not matter what the file name is for the .ini file. You may put any file name, as TestStand will go through this file during launching. 
Screenshot 2023-12-07 163904.png

Additional Information

This file size limit feature was introduced in TestStand 2021 SP1 and above. This feature is intended to give a warning to a user that the report file size is too big and might cause TestStand to respond slowly, hang, or even crash. 
If the report file size is extremely large, the user is advised to open the report directly under the report directory, which was configured in the result processing.