← Back to team overview

sikuli-driver team mailing list archive

[Question #264188]: Have background observation interrupt/pause main thread

 

New question #264188 on Sikuli:
https://answers.launchpad.net/sikuli/+question/264188

Hi there,

first off: Thanks for all the work. A really nice application and very helpful :)

I want to use Sikuli in tandem with Robot Framework to test a User Interface, and this works fine so far
Problem is, sometimes the User interface crashes. But Sikuli, being the ever-eager worker, continues to click on stuff while the big error window hangs in the middle of the screen.

Now, I want to catch if the error window pops up (I though about using onAppear and observe but I'm open for other ideas), throw an error to robot framework, click the "cancel" on the error message and restart the Interface before continuing with the next robot testcase.

Problem is, when I use observe in the background it doesnt stop the main thread. So if the error message would appear and I'd try to click it away and start the user interface anew, the other sikuli script would still try to click stuff while i repair.

Is there a way to tell the main thread to WAIT before I can give the RESUME signal for the next test?

Thanks in advance!

Best,
David

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