Sikuli error on launch

Asked by Abhishek Garg

I am trying to execute my first sikuli script with Selenium. Trying to automate desktop application - windows 7

Followed all the steps correctly as mentioned in http://www.helpingtesters.com/web-automation-with-sikuli-and-selenium/ but I am getting error again and again. Plz check

java.lang.AssertionError: Widget desktop invocation failed.

Script I am running is:
import org.sikuli.script.FindFailed;
import org.sikuli.script.Pattern; //This is class, which will focus on images
import org.sikuli.script.Screen; //This is a class, which will focus on the screen

public class DemoSikuli {

      public static void main(String args[]) throws FindFailed{
      Screen screen = new Screen();
      Pattern image = new Pattern(D:\\images\\Sikuli.PNG);
      screen.click(image);}
}

Question information

Language:
English Edit question
Status:
Expired
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

1. the original SikuliX site: http://sikulix.com (recommended version 1.1.1)

2. not sure what your problem is?

--- java.lang.AssertionError: Widget desktop invocation failed.
this error is not coming from the code snippet and has nothing to do with SikuliX

Revision history for this message
Launchpad Janitor (janitor) said :
#2

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.