[Sikuli-driver] [Question #245250]: contiously checking for error message while running test

2014-03-10 Thread shaihulud
New question #245250 on Sikuli: https://answers.launchpad.net/sikuli/+question/245250 While running a test on a application there is a risk that a specific warning will popup at many different places. Im wondering if it possible to continously check for this warning so sikuli will click "ok" but

Re: [Sikuli-driver] [Question #245250]: contiously checking for error message while running test

2014-03-10 Thread Eugene S
Question #245250 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/245250 Status: Open => Answered Eugene S proposed the following answer: Hi there, I was wondering about the same issue myself however it seems like there is no straightforward solution to that. The only thing

Re: [Sikuli-driver] [Question #245250]: contiously checking for error message while running test

2014-03-12 Thread obiwan-92
Question #245250 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/245250 obiwan-92 proposed the following answer: Hello, The answer is in this page : http://doc.sikuli.org/region.html You have to see the observe function. Have a nice day. Reagrds. -- You received this question

Re: [Sikuli-driver] [Question #245250]: contiously checking for error message while running test

2014-03-14 Thread shaihulud
Question #245250 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/245250 Status: Answered => Open shaihulud is still having a problem: wow that looks interesting! I have tried to understand the doc you linked, plus other observe()related questions but am not able to make it w

Re: [Sikuli-driver] [Question #245250]: contiously checking for error message while running test

2014-03-14 Thread obiwan-92
Question #245250 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/245250 Status: Open => Answered obiwan-92 proposed the following answer: Hello, Try this one : r = Region(Screen(0).getBounds()) print "Region : ", r def changed(event): print "Event : ", event for ch

Re: [Sikuli-driver] [Question #245250]: contiously checking for error message while running test

2014-03-14 Thread shaihulud
Question #245250 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/245250 Status: Answered => Open shaihulud is still having a problem: Interesting piece of code you´ve got there! I changed it into what I thought would work for me: r = Region(Screen(0).getBounds()) print "Reg

Re: [Sikuli-driver] [Question #245250]: contiously checking for error message while running test

2014-03-14 Thread obiwan-92
Question #245250 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/245250 Status: Open => Answered obiwan-92 proposed the following answer: Replace the line r.observe(10, background=False) by r.observe(FOREVER, background=True) Remember to call stopObserver() when you finish

Re: [Sikuli-driver] [Question #245250]: contiously checking for error message while running test

2014-03-17 Thread shaihulud
Question #245250 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/245250 Status: Answered => Open shaihulud is still having a problem: unfortunately it still doesnt seem to work. With the code: r.observe(3, background=True) And I have the image in which is to be observed in t

Re: [Sikuli-driver] [Question #245250]: contiously checking for error message while running test

2014-03-17 Thread RaiMan
Question #245250 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/245250 Status: Open => Answered RaiMan proposed the following answer: A bug with FOREVER ... use a large value instead -- You received this question notification because you are a member of Sikuli Drivers, w

Re: [Sikuli-driver] [Question #245250]: contiously checking for error message while running test

2014-03-17 Thread shaihulud
Question #245250 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/245250 Status: Answered => Solved shaihulud confirmed that the question is solved: Thanks obiwan-92, that solved my question. -- You received this question notification because you are a member of Sikuli Driv

Re: [Sikuli-driver] [Question #245250]: contiously checking for error message while running test

2014-03-17 Thread shaihulud
Question #245250 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/245250 shaihulud posted a new comment: Its working yippie! :) -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli.