sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #24563
Re: [Question #244964]: [sikuli-java] After a pop-up, images are not recognized on the application
Question #244964 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/244964
Status: Open => Answered
RaiMan proposed the following answer:
if the images are hidden by the popup and if the images are searched
again with exists(….,0) immediately after the popup is closed, this
might be too fast (the vanish of the popup is surely animated and takes
some time - up to 0.5 seconds).
To compensate such effects, I usually insert a short wait, before searching again
s.wait(0.3) might be sufficient.
If this is not the reason, then it might be, that the popup stealing
focus from the rest causes the images to be changed a bit. But this only
leads to problems if you are running the image find with a high
similarity >0.9.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.