← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #197689]: unable to configure sikuli in eclipse IDE

 

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

    Status: Answered => Open

Ram is still having a problem:
Hi  Raiman,

I wrote a simple code (given is sikuli doc) in eclipse by creating java
project. it gives ...

Window utilities loaded 
Sikuli vision engine loaded
FindFailed: can not find imgs/panda.png on the screen.
line?, in File?
....
...


Steps :
-- Created a simple java project.
-- Add a scikuli-script.jar file as ref. lib
-- Write a program 
-- make a folder (imgs) and a paste a images into it.

Program:
  import org.sikuli.script.*;
public class TestSikuli{
public static void main(String{} args){

screen s= new screen();
try{
s.click("imgs/panda.png",0);
}
catch(FindFailed e)
e.printStackTrace();}}}

Note: I am taking images from printscreen and then i crop it... import
it to the img folder in eclipse

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