Execution time is a crucial piece of information in a report. Knowing the execution time for each test performed helps identify which steps can be further improved to achieve maximum productivity. It also helps determine if a step misbehaved and requires modification.
This article will focus on how to include the execution time for each step in the TestStand report.
<Ctrl-A>
<Shift>
<Ctrl-Click>
#NoValidation(Step.LastStepResult.TS.TotalTime)
NOTE: The #NoValidation directive prevents the expression from being validated at edit time. This is useful in scenarios where the expression might not be valid until runtime, as is the case here.
#NoValidation
At this point, your sequence file should look like below:
On upcoming report generation, the execution time for each step will be included in the report just like the following illustration:
Collaborate with other users in our discussion forums
A valid service agreement or active software subscription may be required, and support options vary by country.
Helpful
Not Helpful