sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #26731
Re: [Question #251000]: Sikuli 1.1 / JRuby on Ubuntu 12.0.4, Can't find images in currently active window
Question #251000 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/251000
Status: Open => Answered
rss proposed the following answer:
1. Ruby gem now in main project:
https://github.com/RaiMan/SikuliX-2014/tree/master/JRubyGem
2. The problem is using of an absolute path in your method:
def image(file_name)
"#{Dir.pwd}/images/#{file_name}"
end
http://doc.sikuli.org/globals.html - see setBundlePath(path-to-a-folder)
3. Also see rspec examples for IDE: https://github.com/rssdev10/sikulix-
ide-templates
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.