04-20-2011 09:49 PM
Is there a way to set prerequisite on a particular test in TestStand sequence? For example, in my sequence I have Test1, Test2, Test3, and Test4. Test3 is prerequisite of Test4. These tests are Auto Scheduled.
Thanks
04-21-2011 02:17 AM
First of all, you can do this using preconditions.
But as a second point: Why do you autoschedule Test3 and Test4 independantly if they do depend one one another. Simply put both tests in the correct order in the autoscheduler section and you will not have to deal with preconditions....
hope this helps,
Norbert
04-21-2011 09:26 AM
I failed to mention that these tests test multiple UUTs and can run at the same time in different socket (thread). And these tests depend on available resources to run. Setting precondition or ordering them correctly will work on testing a single UUT. I might need to set a FileGlobals variable dependency? Or somehow denote a test depends on another test.
Thanks in advance.
04-22-2011 02:02 PM - edited 04-22-2011 02:07 PM
Preconditions are for skipping test when they don't apply. It sounds like you might want to wait until you are sure a test has already executed. In that case, you could use a Notification.
Note that if you wait for a Notification before Test 4 in its AutoSchedule block, you'll be holding the resource for that block while you wait. Depending on your situation that might or might not matter. I'm assuming you want to wait for at least one socket to execute Test 3 before any socket executes Test 4 or you would just put them in order in the same AutoSchedule block