← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #204354]: Use testing methods in Eclipse

 

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

pyCoder proposed the following answer:
opps... you add directories that contain your images... sorry was on
copy past tangent.


# http://sikuli.org/docx/globals.html#addImagePath
 addImagePath(r"C:\path\to\") # Add all your images directories at the top of your script.
 
openApp("/Applications/jEdit.app")
 wait("", 20000)
 if find("image.png"): #then you can just call them byt file name
      click(getLastMatch())

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