sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #50342
Re: [Question #678325]: If it Can't Find, Closes Early
Question #678325 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/678325
Status: Needs information => Open
Lisa Howells gave more information on the question:
[error] Error caused by: Traceback (most recent call last): File "C:\Users\Lisa\Documents.sikuli\ClickButton.py", line 6, in <module> click("randomButton.png") Line 2275, in file Region.java
at org.sikuli.script.Region.wait(Region.java:2275)
at org.sikuli.script.Region.wait(Region.java:2293)
at org.sikuli.script.Region.getLocationFromTarget(Region.java:3302)
at org.sikuli.script.Region.click(Region.java:3907)
at org.sikuli.script.Region.click(Region.java:3892)
at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
org.sikuli.script.FindFailed: FindFailed: randomButton.png: (57x27) seen at (1313, 540) with 0.75 in R[0,0 1680x1050]@S(0) Line 2275, in file Region.java
this happens once the button has been found and clicked and gone away so
there's no button on the screen until it randomly comes back in a few
minutes. I want the program to not stop, but to keep looking for when
the button appears again but this error happens instead.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.