← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #169468]: Using the wait() from sikuli in eclipse

 

Question #169468 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/169468

Description changed to:
How do I use the wait(timeout) method from sikuli in eclipse? I don't
want itto wait for a specific image. I just need it to pause before it
executes the next statement.

I got this error when I tried using it

Exception in thread "main" java.lang.IllegalMonitorStateException
	at java.lang.Object.wait(Native Method)

Here is a sample of the sequence of statements I want to execute:
s.type(null, ENTER,0);
s.type(null, ENTER,0);
s.type(null, ENTER,0);
s.type(null, "1",0);
s.type(null, ENTER,0);

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