Hi,
I execute a lot of test sequences using SinglePass. I need to add a timeout mechanism so that if a test sequence is too long, its execution is automatically terminated, and next test sequence execution is triggered (from outside).
My solution idea is to dynamically set StationOptions.TimeLimit at the begin of the test execution of a sequence (we read the value of an attribute of the sequence, and set StationOptions.TimeLimit to this value, + SetTimeLimitEnabled + SetTimeLimitAction).
This action is done at the all beginning of the sequential model.
Unfortunately, it doesn't work. StationOptions is correctly set but i guess that the value is loaded by Engine before the assigment i did. So the last value is used, not the updated one.
Any one can suggest solution ?
Thanks