sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #32154
[Question #266097]: Problem performs try / execpt
New question #266097 on Sikuli:
https://answers.launchpad.net/sikuli/+question/266097
when trying to run a script that give the error except the code is not executed
#code
class Login(object):
def LogarFinanc(self):
try:
type("d",Key.META)
doubleClick(Pattern("1429883922773.png").similar(0.91).targetOffset(0,-10))
wait("1429884251368.png",45)
click(Pattern("1429884538249.png").targetOffset(0,16))
paste("AUTOMATO")
type(Key.TAB)
paste("PIRAUT60400")
type(Key.TAB)
paste("pcg2014auto")
click(Pattern("1429885300365.png").similar(0.80))
except:
print "Erro ao logar"
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.