NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to pass addtional result to callingstep

Hi there.
Is there a way to pass additional results to a calling step?
My idea is to report highest level steps only and if some sub step needs to add report content to pass it to the calling step.
I used Runstate.callingstep.result.reporttext. but this is limited.
A more convenient method would be to add result to an error step and pass it to the calling step.

If that is possible?

 

We are on the fly reporting, if that matters.

 

thx
Marcos V. Bischoff
0 Kudos
Message 1 of 2
(3,162 Views)

Did you try using this method "Runstate.CallingStep.AdditionalResults.CustomResults.Insert( )". I'm not sure if it will work. Try calling this method in post expression of the step where you have to add additional results to the calling step.

 

Thanks 

0 Kudos
Message 2 of 2
(3,137 Views)