NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Passing a Post Expression through multiple sequences

Hi All,

 

My current sequence has multiple layers (nests).  I am searching for a way to pass my post expression information when my step fails through multiple layers of my sequence.

 

Here is a description of my "nested" structure:

 

Main Sequence

         Sub Sequence A

                 Sub Sequence B

 

I need to be able to pass my post expression information (step failure information) from Sub Sequence B up to the Main sequence?

 

1.) I would assume the path would be Sub Sequence B....Sub sequence A .... Main Sequence?

 

OR

 

2.) Could I go from Sub Sequence b directly to the Main Sequence?

 

 

Thanks!!!

 

0 Kudos
Message 1 of 2
(2,920 Views)

I am not sure why you need the information in the main sequence.

 

I would be tempted to use PostStepFailureCallback to acheive this.

 

A good example ships with teststand:

C:\Users\Public\Documents\National Instruments\TestStand <version>\Examples\Callbacks\PostStepFailureCallback\FailureHandlerExample.seq

 

Hope this helps.


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
0 Kudos
Message 2 of 2
(2,907 Views)