Inserting Report File Path in TestStand Header

Updated Jan 30, 2020

Reported In


  • TestStand

Issue Details

I need to include my TestStand report's file path in the header of my report. I need to programmatically gather the report's location and write it to the report before the report is published, using a sequential model. How can I do this?


The property TempFileDirectory, part of the Report object, holds the path where the report will be stored. Calling this property in the TestReport callback grabs the report path early enough in execution that its return value can be input into the report. 

There is an example sequence file attached to this article titled "insert_path_report_header" that highlights how to accomplish this.