10-27-2011 03:42 AM
HI Everybody
I have a question regarding the XML report generation in TestStand.
When you have a big architecture with many sequences call, you need sometimes to disable the "sequence Call" result without disabling the tests
inside this sequence call.
For instance, in the attached files we have, a sequence call calling 2 steps:
I want a report with the status of these 2 steps "Step 1" and "Step 2", but i don't want to have "Sequence Call" status in the report.
Is there an easy way for that?
-->If i disable the result of the sequence calls, i disable all the steps of this sequence call
-->Same way with the DiscardResult variable in the PostResultEntryCallback
Thanks for any repy!!
10-27-2011 04:42 AM
Select the Properties of the Sequence and click on the Disable Result Recording for all Steps.
Now you will get a recording for the Step but not the results within the SequenceCall
10-27-2011 04:43 AM
Sorry I just re-read you question.
You want the two steps recorded but not the SequenceCall Step is that correct?
10-27-2011 07:26 AM
Yes exactly...I want the steps results inside the sequence Call but no the sequence call global status...
10-27-2011 07:55 AM
One possible idea is to reload the ResultList array with just the result of the two steps by copying them the a temporay array then overwrite the proper ResultsList in MainSequence.
Or Modifying the Body Results to remove the SequenceCall lines,
10-27-2011 08:51 AM
So there is not an automatic way for that...We have to "manipulate" the result list collection to have what we want in the report...
It will be a good thing to have in the future a dynamic and more flexible configuration report!
Thanks a lot
10-27-2011 08:57 AM
No there no automatic way... unless you can change the script files to remove the SequenceCall result.