sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #38007
Re: [Question #293566]: Find failed Error
Question #293566 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293566
Description changed to:
I am a beginner in testing field. I am getting a find failed error.
the code am using is :
package demosikuli;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.sikuli.script.FindFailed;
import org.sikuli.script.Pattern;
import org.sikuli.script.Screen;
public class demo {
public static void main(String[] args) throws FindFailed,
InterruptedException {
WebDriver driver = new FirefoxDriver();
driver.manage().window().maximize();
driver.get("http://www.google.com");
Screen screen = new Screen();
Pattern image = new Pattern("C:\\images\\google.jpg");
screen.click(screen.wait(image, 10));
screen.type(image,"gmail");
}
}
please provide suggestions and help me with the error..
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.