How to Add the Total Step Time in TestStand Execution Window Steps Pane?

Updated Nov 17, 2020

Environment

Software

  • TestStand

Operating System

  • Windows

I have a TestStand program and I am wondering if it is possible to add the Total Step Time details on each of the steps when executing the test program?

Below are the steps to add the Total Step Time.
  1. Right click on any step in Steps Pane
  2. Go to Step List Configuration and select Edit Step List Configurations...
  3. Select Configuration for Viewing Executions:
  4. Click New
  5. Rename the newly added configuration, eg. Custom Cfg
  6. Click Edit...
  7. Go to Columns tab
  8. Click Add
  9. Name the Caption accordingly, eg. _TOTAL_TIME
  10. Change the Type to Expression
  11. Enter the Expression as below
    • (Step.LastStepResult != Nothing && Step.LastStepResult.Exists("TS.TotalTime", 0)) ? Str(Step.LastStepResult.TS.TotalTime) : ""
  12. Click Apply and OK
  13. Make sure you have the Custom Cfg checked