← Back to team overview

sikuli-driver team mailing list archive

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: Answered => Open

Edwin Veerkamp is still having a problem:
Hi RaiMan, thank you for your quick reply.

I've tried the solution you suggested, but that results in the following
error:

[error] script [ Main ] stopped with error in line 4 at column 0
[error] SyntaxError ( "no viable alternative at input 'catch'", )

I have replaced catch by except, but then only the last test case 'Word'
is executed

try:
    import Create_Account_IE
    print "Create_Account_IE success"
except:   
    print "Create_Account_IE failed"
    
try:
    import Word
    print "Word success"
except:   
    print "Word failed

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.