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?
Solved! Go to Solution.
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.
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.
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.