Quantcast
Channel: NI TestStand topics
Viewing all articles
Browse latest Browse all 6524

Several executions in parallel : goto cleanup of another sequence

$
0
0

Hi guys,

 

My test sequence has this architecture : it launches 2 executions in parallel and for them to finish. In these 2 executions are placed several subsequences and test to verify my UUT (see image attached).

My test sequence should follow this behavior : some of my subsequence are crucial to my test, so any step failing inside these sequences (and only these ones) should stop the UUT test. These sequences are set to 'go to cleanup on step failure'. Then my first idea was to add a post-expression to these sequences in order to terminate my 2 executions.

 

=> It works fine but I'm running into this issue : http://www.ni.com/white-paper/14067/en#224640_by_Category . I need to have the correct status of my test sequence, I can't accept that it returns 'Passed'. 'Terminated' or even better 'Failed' status in mandatory for me (reporting purpose).

 

So the second idea was to go to the cleanup of my two executions when one of this critical sequences have a fail status... But I can't find a way to set the PostAction to target a step (group) outside of the current step's sequence.

 

Any idea ?

 


Viewing all articles
Browse latest Browse all 6524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>