TestStand Result Filtering Expression Causes Error 17306

Updated Mar 20, 2018

Reported In

Software

  • TestStand

Issue Details

I'm trying to create a result filtering expression in TestStand so that only steps which return a status of "Done" get logged in the report.  For this, I use the expression Step.Result.Status == "Done".

After setting this, when I run my sequence I get the following error:
 

My expression is valid, why am I seeing this error?
 

Solution

In the Report Options Dialog Box, this expression is entered in the Include Step Results section.  Because of this, when entering the expression you can only use properties within the Result container, and you must use Result instead of Step.Result in the expression.  This is outlined in the TestStand Help File.
 

Figure 1. Entry to Filter for "Done" Status

WAS THIS ARTICLE HELPFUL?

Not Helpful