← Back to team overview

sikuli-driver team mailing list archive

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

 

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 "Region : ", r
def changed(event):
     click(PatternLocation)
r.onAppear(PatternLocation, changed)
r.observe(10, background=False)
#the test


What happened was that sikuli spent 10 seconds looking for the image to appear, then ran the test. (the rest of the code)
I want it to run the test while it´s looking for the image to appear.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.