Question #403518 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/403518
avisha gave more information on the question:
package sikuli;
import java.util.List;
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.sikuli.script.*;
import org.sikuli.script.ImagePath.PathEntry;
public class TestSikuli {
public static void main(String[] args) throws FindFailed {
Screen s = new Screen();
//trying to get image bundle path
String paths = ImagePath.getBundlePath();
System.out.println(paths);
Pattern fire=new
Pattern("//Users//vishalsrivastava//Documents//workspace//SeleniumTest//fire.png");
s.click(s.wait(gmail, 10));
s.click(fire);
}
}
As u see in above code i tried to get the image bundle path which came out to
be :: //Users//vishalsrivastava//Documents//workspace//SeleniumTest
so i placed my firefox image under given image path
but the moment Java runtime reaches the pattern line it throws this
exception::Exception in thread "main" FindFailed:
//Users//vishalsrivastava//Documents//workspace//SeleniumTest//fire.png:
(136x170) in S(0)[0,0 1280x800] E:Y, T:3.0
Line 2716, in file Region.java
--
You received this question notification because your team Sikuli Drivers
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