NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to modify Report options to show only Passed/Failed results?

Solved!
Go to solution

Hello,

in the Report Options i have Report Format = ASCII Text File.

In the Result Filtering Expression i can select between four predefined selections (All Results, Exlude, ..).

But if i want to insert set a custom expression then the first word "Result" is highlighted red
Result.Status == "Passed" || Result.Status == "Failed".

And the error message in the tool-tip says: Unknown variable or property name.

 

What is wrong then?

 

Thx

0 Kudos
Message 1 of 5
(3,591 Views)

You need to put Step.Result.Status

 

Hope this helps,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
Message 2 of 5
(3,586 Views)
Solution
Accepted by topic author OnlyOne

Ok I lied! 

 

It worked for me by just using Result.Status.

It's ok that it shows up Red like that because it will evaluate correctly during execution time.

 

Regards,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
Message 3 of 5
(3,578 Views)

Step.Result.Status ist not working. Then i get an error in the model.

The trick is to ignore the red failure and run the testplan. Then filtering is working.

Seems to be like a bug.

Message 4 of 5
(3,577 Views)

I agree.  If you click on the expression browser it inserts any expressions into the statement.  It should be relative to the step since this section is dealing with the step results.  And it shouldn't show up red if it is relative to the Step and the lookup string is valid.

 

Cheers,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
Message 5 of 5
(3,570 Views)