I am trying to have a script that logs onto our system exit the script and all other scripts that run after it in a suite. I am able to do it fine in the log on script where if a "machine not found" type message is receive I can exit the script but all the other scripts in a test suite still try to process. This obviously fail since I did not get signed on.
The only solution I can currently think of is to write to a global variable a "log on failed" indication then have all the other scripts I have built do a test on this value and if it is true then "Exit Sub".
Please let me know if anyone has any other suggestions or if this is the only way I can accomplish this. Thanks.