03-02-2023 10:34 AM
Hello!
My test report gets very, very large, so I'm trying to edit it down. I currently have the report result filtering expression set to Exclude Passes/Done/Skipped, so it really only shows when things fail, but I also want to show certain test results in every test report even if it passes, how do I do this?
I thought if I set Run Options--> Result Recording Option--> Enabled (Override sequence setting), it would show the result in the report even if it passed, but it doesn't.
Please help 🙂
03-02-2023 11:41 AM - edited 03-02-2023 11:42 AM
The Report Filtering is done by the Report Plugin, which happens after the step data is already added to the result list. All your steps already are going into the Result List already (unless the step, or sequence explicitly disables it). Then later on the Report itself filters from there.
What we do that works well is edit our sequences or steps to disable recording for what we don't want. You can disable all recording at the Sequence Level (Sequence properties) or at the Step level. Then you leave the ones enabled you want on the report.
This has the benefit of saving a lot of memory because ResultList only grows for what we really want, instead of getting everything and filtering later. And it's a pretty quick change to make because you can multi select steps with Ctrl + Click to change their result settings all together.