sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #35806
[Question #276030]: how to give a wait time based on image
New question #276030 on Sikuli:
https://answers.launchpad.net/sikuli/+question/276030
Hi,
The scenario is, i have file installed in the system. I can delete or reinstall the file.
When i delete or install the file, I can see the percentage of progress in one of the screen window.
The thing is i need to wait until that percentage window reaches to 100%, then only i need to proceed with the further steps.
Logic i have planned is -
capturing image of progress window with 100%.
ie :
img = "progressWindowWith100%.png"
img1 = "progressWindowWithZero%.png"
while ( img1 <= img ):
wait()
img = img +1
click (ok.png)
Is this a correct logic? Or can you suggest the code for to wait untill the image becomes 100%.
Regards,
Krishna
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.