← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #236040]: text search is currently switched off

 

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

RaiMan proposed the following answer:
- you say: "something.png" is an image filename

- the error message says, that the image cannot be found on the file system. So Sikuli assumes, that the text "something.png"  should be searched (what not is your intention), but textSearch is switched of currently (which is the standard now)
(BTW: this internal guessing was one of the meanest implementations by the former developers. In the next version you will have to explicitly say findText() if you want to search for text)

- so you have to specify a correct image path, so the image can be found
(BTW: you might try ImageLocator.setBundlePath() to specify a standard
directory to look for image files, or even use
ImageLocator.addImagePath() to specify more than one image folder.

hope it is clear now ;-)

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