|
#1
|
|||
|
|||
Execute Failure Step
I need to execute my failure step from JScript. I noticed in a previous thread that I should use
throw "Failure" I keep getting the following message when I use it: (Exception thrown and not caught) I do have a failure step called "Failure". Thanks Last edited by keyboardmonkey; 05-27-2003 at 10:36 AM. |
#2
|
|||
|
|||
throw "Failure" raises an exception that is handled by the processing in the "Failure Steps" tab. I suspect that it doesn't matter what the text or object is that is thrown and that the failure processing is generic, it handles any failure during "Project Step" processing.
Assuming that to be the case, you can use any text you like for the throw and can then determine from the log where or why the throw happened. Note also that the steps in the "Failure Steps" processing can use %FAILSTEP_NAME% to determine where the failure happened. |
Thread Tools | |
Display Modes | Rate This Thread |
|
|