Is there any Global Val that can set to exit the WinRunner script execution on failur
Is there any Global Value that can set to exit the WinRunner script execution on failure?
I currently use texit in various places of my winrunner script to exit the test upon failure. But it is not sure in which context sensitive statement the script will fail. So I cannot put "texit" everywhere. I want to know if I can set any global value so that script exits abruptly upon failure of any context sensitive statement in the WinRunner Script.
e.g.if the script fails on one particular statement and the next statement happens to be a Set_Window("window",90);
WinRunner waits for 90 mins unnecessarily even though the script has already failed.
Re: Is there any Global Val that can set to exit the WinRunner script execution on failur
Wasn't there some sort of option in the settings which cased scripts to stop when these sort of things happen.
Most people turn it off as sometimes your code will branch on the failure of an item to appear which you are expecting (no error message).
Otherwise I thing you will need to test every TSL function and exit on failure.
This can take some time to retro fit but if it is part of your standards it is no problem