03-03-2016 08:42 AM
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
Solved! Go to Solution.
03-03-2016 09:37 AM
You need to put Step.Result.Status
Hope this helps,
03-03-2016 09:45 AM
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,
03-03-2016 09:47 AM
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.
03-03-2016 09:52 AM
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,