Question #260249 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/260249
Ben Kirby gave more information on the question:
After further investigation i've found that the wait method works when
using:
@Test
public void test() {
Screen s = new Screen();
ImagePath.add("src/test/resources/images");
try{
s.wait("FileMenuList.png",30);
s.click("FileMenu.png");
}
catch(FindFailed e){
e.printStackTrace();
}
}
but not:
@Test
public void test() {
Screen s = Screen.all();
ImagePath.add("src/test/resources/images");
try{
s.wait("FileMenuList.png",30);
s.click("FileMenu.png");
}
catch(FindFailed e){
e.printStackTrace();
}
}
The difference being Screen s = new Screen(); vs Screen s = Screen.all()
Should this method not work with Screen.all()?
Thanks
--
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