NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Report teststand

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!!

0 Kudos
Message 1 of 7
(3,554 Views)

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

 

 

Regards
Ray Farmer
0 Kudos
Message 2 of 7
(3,550 Views)

Sorry I just re-read you question.

 

You want the two steps recorded but not the SequenceCall Step is that correct?

 

 

Regards
Ray Farmer
0 Kudos
Message 3 of 7
(3,550 Views)

Yes exactly...I want the steps results inside the sequence Call but no the sequence call global status...

0 Kudos
Message 4 of 7
(3,545 Views)

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,

 

 

Regards
Ray Farmer
0 Kudos
Message 5 of 7
(3,543 Views)

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

 

0 Kudos
Message 6 of 7
(3,537 Views)

No there no automatic way... unless you can change the script files to remove the SequenceCall result.

 

 

Regards
Ray Farmer
0 Kudos
Message 7 of 7
(3,535 Views)