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

Atin Chak posted a new comment:
Hi RaiMan,

I am also getting following error while running the java code with 1.1.0
version, however same code was working well with 1.0.0:

[error] ImagePath: not found on image path: images/lcIndia.png
[debug] ImagePath: ImagePath has 1 entries
[error] Image: Image not valid, but TextSearch is switched off!
FAILED: testServicePlanAddLineToSwitchEverythingPlan
FindFailed: Region: doFind: Image not loadable: images/lcIndia.png


Here is the code:

@Test
        public void testServicePlan() throws Exception 
        {
                try 
                {
                        //object initialization
                    Screen screen = new Screen();
                    
               screen.wait("images/lcIndia.png",120);
                screen.click("images/lcIndia.png", 0);
                 screen.type("images/India.png", "How are you!");
                }
                catch (Error e) {                                       
                        //TO DO
                        throw e;
                }
                catch(Exception e) {                    
                //TO DO
                        throw e;
                }
        }

I included sikulixapi.jar in the build path. and images are exists in
the path.

Please suggest how to resolved that error.

Regards,
Atin

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to