← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #253779]: matching in the IDE is not the same than in an executed script

 

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

    Status: Answered => Open

Carlos is still having a problem:
The 'Yes' image was captured from the 'DeleteConfirmation' dialog and there should not be any 'missing' row of pixels in the search region.
Additionally, avoiding that restrinction and directly looking for the 'Yes' image
        click(find(imgSet.getImage("Yes"))
, I get the same error:
[ERROR] FindFailed ( can not find P(Yes.png) S: 0.9 in R[0,0 1920x1200]@S(0) )
Exception in thread "MainThread" java.lang.IllegalStateException: No match found
	at java.util.regex.Matcher.group(Unknown Source)
	at org.sikuli.scriptrunner.JythonScriptRunner.findErrorSourceWalkTrace(JythonScriptRunner.java:346)
	at org.sikuli.scriptrunner.JythonScriptRunner.findErrorSource(JythonScriptRunner.java:311)
	at org.sikuli.scriptrunner.JythonScriptRunner.runPython(JythonScriptRunner.java:216)
	at org.sikuli.scriptrunner.JythonScriptRunner.runScript(JythonScriptRunner.java:158)
	at org.sikuli.basics.SikuliScript.main(SikuliScript.java:199)
	at org.sikuli.ide.SikuliIDE.main(SikuliIDE.java:245)

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