NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

how can I limit result information to mainsequence level?

Hi,
we use TestStand as an automation roboter for testcases that are constructed within Mercury TestDirector and compiled in-time during execution. The sequence files are built via API exclusively from custom StepTypes and only in the MainSequence.
 
I need to report the pass/fail result plus detailed information located in [Step].Result-ReportText for each inserted step(type) back to TestDirector - and nothing more!
 
How can I limit the information to the top level steps in MainSequence? We tried to use tracing messages but didn't find a way to disable tracing into substeps. The same problem applies to use the report file.
 
Regards,
bartislartfass
0 Kudos
Message 1 of 3
(3,079 Views)
Bartislartfass -
It is unclear as to what you are trying to do.  You say that you are building the sequence via the API and that the steps are being placed in a top-level MainSequence.  TestStand automatically collects the results under Locals.ResultList for steps that have result collection enabled.  Each step has a property called "Record Results", which you can customize.
 
Tracing on the other hand only affects whether TestStand displays the execution of each step in the Sequence Editor or operator interface execution view. It does not affect whether results are collected.
 
What mechanism are you using to give the results to TestDirector?  Are you doing this in the process model?  Can you give an example of what in a result you do not want to give to TestDirector?
Scott Richardson
https://testeract.com
0 Kudos
Message 2 of 3
(3,058 Views)

Scott,

you are right,  this was a useless approach. We now collect the results from the ResultList and everything works as desired.

Thanks!

0 Kudos
Message 3 of 3
(3,044 Views)