sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #41469
Re: [Question #452522]: Sikuli error on launch
Question #452522 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/452522
Description changed to:
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);}
}
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.