sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #47828
Re: [Question #671096]: unit testing: how to handle exceptions and continue in case of failures
Question #671096 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/671096
Status: Solved => Open
Sonali is still having a problem:
Hi Raiman,
Sorry to bother you again. But apart from exists(image) can I use try-
catch exception. but somehow it did not work for me :(
try:
click('Start')
wait(1)
click('Exceutive')
wait(10)
click('Control')
etc...
except exception e:
print 'No such images found'
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.