Is there a way to skip the failed cases?I have 10 test cases in a script and i want to skip onfail in the compareTo command. Is there a graceful way to do it other than exit.
It's just a matter of script design. We usually recommend to put each script (test case) into a single file.
If you need to keep the test cases in a single file, an option is to put each test case into a procedure. When you want to terminate the test case and jump up to the main script, you would call "Exit <number> scope=procedure".
Another good alternative is to switch to Java test scripts.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.