sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #24757
[Question #245479]: how to find and check an image
New question #245479 on Sikuli:
https://answers.launchpad.net/sikuli/+question/245479
Hello everybody,
I face another issue again. :-(
I use the find (image) command in sikuli to identify an image. After that I would like to check if it is available, e.g.
click (navi)
sleep(1)
myImage = find (myImage)
sleep(1)
popup (myImage) #does not work -> error msg
if exists (myImage):
popup ('found myImage')
else:
popup('not found')
I always got 'not found' .... but I'm sure that it has found myImage ... I think something is wrong with if exists (myImage) ???
Could you help ? :-)
Thank you.
Cheers
Loren
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.