12-23-2010 03:55 AM
12-23-2010 04:27 AM
Hi,
I dont have TestStand to hand, but you should beable to browse to the required Step and just select it. Check out the TestStand Help under Flow Controls | Goto.
12-23-2010 06:01 AM
Ray, actually I'm looking a step that terminates all current running threads and shift to the next terminal to be tested.
12-29-2010 06:36 AM
Hello,
Is your goal to jump from one sequence to another sequence?
One thing you could do to realise this is the following:
- Use a goto step in your current sequence that jumps to a sequence call
- That sequence call calls a new sequence with that step inside it.
- That step can either be the only step in the new sequence or there could be a condition in that sequence that causes it to go to the desired step.
Can you let me know if this is what you wanted to do?
01-06-2011 07:03 AM
Thierry,
I'm monitoring a boolean value in a separate thread which I started from the main sequence. When this boolean gets true I want all threads to be stopped and current testing terminated.
But a goto->end in the monitoring thread doesn't stop my other threads.
Best Wishes for 2011!
01-06-2011 07:21 AM
What I need is a step in my monitoring thread that go to -> main.cleanup or main.<End Group> ...
01-07-2011 09:41 AM - edited 01-07-2011 09:41 AM
I'd recommend calling Terminate() on your executions in your monitoring thread instead.
Hope this helps,
-Doug
01-11-2011 04:32 AM
The 'Terminate Execution' in the post action of the monitoring thread step, will it terminate all my threads from executing?
The monitoring thread is running in an infinite loop, how to stop this thread when the main test sequence is finished. Can I send a flag from the main sequence cleanup to end this thread?
01-11-2011 09:21 AM
Terminate Execution will terminate all threads in the current execution. If you have multiple executions you will need to call terminate on all of them, if you only have one then yes, terminate will terminate all of the threads in it. When a thread is terminated it goes to cleanup. Even the monitoring thread will do so if it is in the execution that is getting terminated. You can use a "by reference" boolean parameter to your monitoring thread's sequence that is set to false when it should exit if you'd like, however if you are terminating the execution, your monitoring thread will go to cleanup too anyway.
Hope this helps,
-Doug
01-18-2011 03:46 AM - edited 01-18-2011 03:53 AM
Doug,
regards