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 ?