Re: [Sikuli-driver] [Question #257314]: How to handle network lag when UI script is invoked on systems with different hardware configuration

2014-11-12 Thread bgbig
Question #257314 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/257314 Status: Answered => Solved bgbig confirmed that the question is solved: I was not aware of this feature : clubbing of click() and wait() into one. Will try and use this functionality thanks , i think t

Re: [Sikuli-driver] [Question #257314]: How to handle network lag when UI script is invoked on systems with different hardware configuration

2014-11-12 Thread RaiMan
Question #257314 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/257314 RaiMan proposed the following answer: in the mentioned example, it seems, that the ref image you are waiting for is the nextButton. so this should do it: click(wait(self.myImages.getImage("nextBut

Re: [Sikuli-driver] [Question #257314]: How to handle network lag when UI script is invoked on systems with different hardware configuration

2014-11-11 Thread bgbig
Question #257314 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/257314 bgbig posted a new comment: Thanks Eugene and RaiMan for correct use of wait image option . Even I use wait(image,timeout extensively) as suggested by RaiMan ,but in my use case there is a lot of screen chan

Re: [Sikuli-driver] [Question #257314]: How to handle network lag when UI script is invoked on systems with different hardware configuration

2014-11-11 Thread RaiMan
Question #257314 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/257314 RaiMan posted a new comment: @ Eugene of course I have realized your intention ;-) BTW: for version 1.2 I plan more options for FindFailed reactions and some "learning" of needed waiting times, which might h

Re: [Sikuli-driver] [Question #257314]: How to handle network lag when UI script is invoked on systems with different hardware configuration

2014-11-11 Thread Eugene S
Question #257314 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/257314 Eugene S posted a new comment: @RaiMan I was so concentrated on my own approach that I completely forgot to mention the "wait(image, timeout)" option that I use quite extensively myself. The reason to take

Re: [Sikuli-driver] [Question #257314]: How to handle network lag when UI script is invoked on systems with different hardware configuration

2014-11-11 Thread RaiMan
Question #257314 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/257314 RaiMan proposed the following answer: I want to add to Eugenes correct approach: In situations, where after a click action, that should change the screen content, the time to complete this screen change is v

Re: [Sikuli-driver] [Question #257314]: How to handle network lag when UI script is invoked on systems with different hardware configuration

2014-11-11 Thread Eugene S
Question #257314 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/257314 Status: Open => Answered Eugene S proposed the following answer: Hi, Theoretically, there are 2 types of waits that can be used for automation: - Implicit - Explicit What you have just demonstrated -

[Sikuli-driver] [Question #257314]: How to handle network lag when UI script is invoked on systems with different hardware configuration

2014-11-10 Thread bgbig
New question #257314 on Sikuli: https://answers.launchpad.net/sikuli/+question/257314 I have written sikuli scripts for automation of one of our manual testing on a windows server 2012 system (virtual machine). I have added customised wait in my scripts at numerous steps ..like clicking a next