02-09-2015 02:55 AM
Hi,
How can I get multiple steps status from TestStand? I have 20+ pass/fail steps in code and need to update one station global array based on the result status. Example of my sequence given below for better understanding.
Step1: Action 1
Step 2: Action 2
Step 3: Test 1 (Pass/Fail)
Step 4: Test 2 (Pass/Fail)
Step 5: Action 3
Step 6: Test 3 (Numeric Test)
Step 7: Test 4 (String Test)
Step 8: Test 5 (Pass/Fail)
Step 9: Action 4
Step 10: Test 6 (Pass/Fail)
In this sequence, if Test 1, 2, 6 passes, I need to update one Station global (array element 1); if Test 3, 5, 6 passes, need to update Station global (array element 2) and Test 4, 6 passes Station global (array element 3). How can I implement it? At present we are doing with ANDing unique number of steps status with “if” condition.
Thanks,
Sanad MM
02-10-2015 03:44 AM
You have Result array at runtime, and there are all status of steps, then you u need to write expression to check them and do actions on stationglobals