05-14-2009 08:52 AM
Hello,
Is it possible to specify that a step should only appear in the results if the status is FAILED, and not when it PASSED the test?
It looks like you can only enable or disable the result logging for a step!
Thanks!
John.
Solved! Go to Solution.
05-14-2009 10:12 AM
John,
maybe this article helps you to solve your request.
hope this helps,
Norbert
05-14-2009 11:54 AM
Have you gone to the Report Options page and just changed the default result filtering expression? Click on the little down arrow and one of the built-in options is 'Exclude Passed/Done/Skipped'. You can enter your own expression or modify the ones that are there. This expression applies to all steps so it works great if you want to report all step failures as opposed to just some of the steps.
05-15-2009 01:31 AM
Hi,
If the anwser from Dennis will full-fill your needs then ignore this.
If you want to match a only special step then i would add after this a statement
step which deletes the last Step.ResultList-element on PreCondition Pass to this step.
Juergen
05-15-2009 03:12 AM
Thanks all!
I only want to do this for certain steps, and the solution that Juergen offers will work for me!
Thanks again for all your help!
11-17-2009 11:26 AM
Hello,
Could you elaborate on the solution for this issue? I did not understand the solution; a code snippet would be most appreciated!
Thanks,
Daniel
11-18-2009 01:09 AM
11-18-2009 08:42 AM
Thanks so much for the help. I was a little unclear at first - couldn't figure out why there were two RemoveElement expressions; but I then realized that the Post-Expression is the same thing as the main Expression in this case.
Thanks again,
Daniel
10-02-2012 12:53 PM
This article addressed my problem. I now know how to remove skipped steps from my report file. Thanks.
10-04-2012 12:38 AM