sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #40723
Re: [Question #403973]: Problem if Exists(Image)
Question #403973 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/403973
Status: Answered => Open
Marc is still having a problem:
Ok so I used :
setFindFailedResponse(SKIP)
def Search():
if exists(image):
for x in findAll(image):
click(x)
I get :
[error] TypeError ( 'NoneType' object is not iterable )
[error] --- Traceback --- error source first line: module ( function ) statement 55: main ( search ) for x in findAll(image):
And in another fonction I have just :
def Check_Cbt():
if exists(OK):
click(OK)
ONLY this, BUT I get :
[error] FindFailed ( can not find P(OK.png) S: 0.71 in R[0,0 1920x1080]@S(0) )
Why....?
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.