← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #694998]: Run all my tests back to back

 

Question #694998 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/694998

    Status: Answered => Open

Ali Ahmed is still having a problem:
Ok so would I do it like this:

exitValue = runScript("/SikuliX/Viewing and Edit Trade.sikuli")
if exitValue > 1:
   print "there was a special case"
elif exitValue == 1:
   print "there was an exception"
else:
   print "ran with success"
exit(exitValue)

exitValue = runScript("/SikuliX/LinkTagToTrade.sikuli")
if exitValue > 1:
   print "there was a special case"
elif exitValue == 1:
   print "there was an exception"
else:
   print "ran with success"
exit(exitValue)


its just printing "there was a special case", but only prints it once.  How would I do it exactly, I would appreciate help on this.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.