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

twitty posted a new comment:
I think the issue is my sikuli tests are not able to click/interact with the 
screen. 
I checked the Tomcat Logon option "Allow service to interact with Desktop" and 
restart the webserivce. But still the same. 
I installed the Tomcat and Jenkins  on the physical machine and using 
Sikuli-script API. 
I am not sure what I have missed.  

getImagePath() is just trying to get the img file from test/resource
folder

Thanks!


if (SCREEN.exists(getImagePath(imageName)) == null) {

                        LOG.log(Level.WARNING, "Could not find the image: " + 
imageName);
                        result = false;

                }

        public String getImagePath(String imageName) {
                String imageBasePath = getClass().getResource("/" + imageName)
                                .getFile();
                System.out.println(imageBasePath);
                File file = new File(imageBasePath);
                imageBasePath = file.getAbsolutePath();
                //System.out.println(imageBasePath);
                return imageBasePath;
        }

-- 
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