sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #30837
Re: [Question #263131]: If a test case fails the remaining testcase in the test suite aren't executed anymore
Question #263131 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/263131
Status: Open => Answered
RaiMan proposed the following answer:
imported or not, if something in a script crashes and the corresponding
exception is not catches, the script ends with an error at this line.
If you want to do something else in these cases, you have to wrap the
respective parts in try:catch: blocks
It looks like, you are talking about the imported modules as "test cases".
If this is true:
try:
import Create_Account_IE
print "Create_Account_IE success"
catch:
print "Create_Account_IE failed"
… and so on
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.