sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #35674
Re: [Question #274718]: IDE command wait("image") not waiting for image to appear before script continues
Question #274718 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/274718
Status: Answered => Open
Amanda is still having a problem:
Hi Eugene,
Thank you for your reply to my question. Your suggestions were very
helpful.
It looks like the process might indeed be finding the "Completed" button
flashing in between images being processed in the batch instead of just
at the end. Using print I was able to see that sikuli thinks it sees
the "Completed" button and highlights where the completed button finally
appears once all images are done, though it does it far too early in the
batch while the button still says "Stop". I suspect that "Completed" is
indeed flashing up between each step faster than I can visually detect.
Visually it appears that the button reads "Stop" until the entire
process is completed then the button changes to "Completed". The process
doesn't immediately move to the "Stop" button as soon as it appears
however but instead it is highlighted a short time latter which makes me
believe that sikilu isn't mistakenly selecting "Stop" thinking it is the
"Completed" button.
I am going to look for another solution that doesn't involve waiting for
the "Completed" button to appear or the "Stop" button to vanish, or see
if I can script it to ignore the appearance of the "Completed" button if
it's appearance doesn't last with in a certain time frame.
If you have anymore suggestions I would love to hear them.
Thank you again for your assistance. Hopefully I can come up with a
different scripted solution.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.