Re: [Sikuli-driver] [Question #209608]: implicit wait in Sikuli

2012-09-27 Thread RaiMan
Question #209608 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/209608 Status: Open = Answered RaiMan proposed the following answer: --- if the required image is found with in wait time , then script should wait until the wait time gets complete. this is what you asked -

Re: [Sikuli-driver] [Question #209608]: implicit wait in Sikuli

2012-09-27 Thread Sathyamoorthy
Question #209608 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/209608 Status: Answered = Solved Sathyamoorthy confirmed that the question is solved: Hey Thanks Dude. Closing this query -- You received this question notification because you are a member of Sikuli

[Sikuli-driver] [Question #209608]: implicit wait in Sikuli

2012-09-26 Thread Sathyamoorthy
New question #209608 on Sikuli: https://answers.launchpad.net/sikuli/+question/209608 Hi, I have written sikuli script for my taks. In that i have called wait() function to get a proper image. Since application some times take less time to proceed further , or some times takes more time to

Re: [Sikuli-driver] [Question #209608]: implicit wait in Sikuli

2012-09-26 Thread RaiMan
Question #209608 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/209608 Status: Open = Answered RaiMan proposed the following answer: maxWait = 50 # seconds start = time.time() wait(some_image, maxWait) imageWait = time.time()-start if imageWait maxWait: wait(maxWait -

Re: [Sikuli-driver] [Question #209608]: implicit wait in Sikuli

2012-09-26 Thread Sathyamoorthy
Question #209608 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/209608 Status: Answered = Open Sathyamoorthy is still having a problem: Could you please give me explanation ... I could not understand -- You received this question notification because you are a member of

Re: [Sikuli-driver] [Question #209608]: implicit wait in Sikuli

2012-09-26 Thread nupur
Question #209608 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/209608 Status: Open = Answered nupur proposed the following answer: @Sathyamoorthy: U can use wait(some-image, max-wait) It will wait for an image for upto the given time, if the image appears before the

Re: [Sikuli-driver] [Question #209608]: implicit wait in Sikuli

2012-09-26 Thread RaiMan
Question #209608 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/209608 RaiMan proposed the following answer: @ nupur that is what I do in my suggestion (line 3 ;-) But if the image comes up earlier, the script will continue with your suggestion. He wants to wait for the

Re: [Sikuli-driver] [Question #209608]: implicit wait in Sikuli

2012-09-26 Thread Sathyamoorthy
Question #209608 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/209608 Sathyamoorthy posted a new comment: @RaiMan: Thanks Man. I am just started playing with Sikuli and python. That is reason i am expecting detailed explanation. Thanks for your help and support -- You

Re: [Sikuli-driver] [Question #209608]: implicit wait in Sikuli

2012-09-26 Thread Sathyamoorthy
Question #209608 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/209608 Status: Answered = Open Sathyamoorthy is still having a problem: Hi wait(some_image, maxWait) will wait until image is found. if image is found then it will proceed to next step. What about