New question #244755 on Sikuli:
https://answers.launchpad.net/sikuli/+question/244755
My script stopped work properly, some error occurs in Sikuli that returned an
exception
look...
my script...
try:
openTrackingItem()
print("Test 1 - Passed")
filename = "Test01Passed.png"
printScreen(filename)
testOk = testOk +1;
except:
print("Test 1 Failed")
filename = "Test01Failed.png"
printScreen(filename)
testNok = testNok +1;
print ("Test OK",testOk)
print ("Test Not OK",testNok)
ERROR:
Test 1 - Passed
Test 1 Failed
[error] script [ *Sanity_ePM ] stopped with error in line 60
[error] NameError ( global name 'exception' is not defined )
[error] --- Traceback --- error source first line: module ( function )
statement 6: main ( printScreen ) raise exception
[error] --- Traceback --- end --------------
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp