← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #207645]: Image not found although image was used 2 times before

 

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

RG posted a new comment:
Hi RaiMan,

The first click on gdfg.png works, the second failed.

Thanks for help
R.


 if  exists (Pattern("EnterCWwithm.png").similar(0.90)): 
      scanOK = "9"
      writeErrorLog (logFile, "*** keyboard found")
      screenCopy (imagePath + e + '-09-keyboard.jpg')
      #click (Pattern("EnterCWwithm.png").similar(0.97).targetOffset(-11,-28))
      click(Pattern("gdfg.png").similar(0.98))      
      screenCopy (imagePath + e + '-09-keyboard0201.jpg')

      #wait (2)
      click(Pattern("gdfg.png").similar(0.98))      
      screenCopy (imagePath + e + '-09-keyboard0202.jpg')      

      #wait (2)
      click(Pattern("gdfg.png").similar(0.98))  
      screenCopy (imagePath + e + '-09-keyboard0203.jpg')     

      wait (2) 
      click("Finish.png")

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