TestStand Results Filtering Expression For Step Type

Updated Nov 1, 2023

Environment

Software

  • TestStand

What is the correct expression to enter into the results filtering expression so that the the report only shows steps of a given type. 

You can customizing TestStand reports using the report options dialog. To access the dialog in TestStand 2012 and later, navigate to Configure » Result Processing to launch the Report Options dialog, then select the Settings icon for the Report Generation plug-in. In TestStand 2010 SP1 and previous, select Configure » Report Options.
 

The correct expression to use for the results filtering expression to filter by step type is : Result.TS.StepType

For instance, you to create a report which only shows the step type Multiple Numeric Limit Test which have failed, you can use the expression : Result.TS.StepType == "NI_MultipleNumericLimitTest" && Result.Status == "failed"

image.png

Note: The result filtering expression is not available when using the XML format, or when using the ATML format with TestStand 2010 SP1 or previous.  In these cases, you can filter results through modifying the report style sheet.