We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
my path: jdk1.8 and windows10 my dependency : com.sikulix sikulixapi 2.0.5 my code: ` @SneakyThrows @test void test1() { Runtime.getRuntime().exec("calc.exe"); Thread.sleep(2000);
Screen screen = new Screen(true); screen.click("C:\\Users\\cl\\Desktop\\images\\6.png"); screen.click("C:\\Users\\cl\\Desktop\\images\\x.png"); screen.click("C:\\Users\\cl\\Desktop\\images\\7.png"); screen.click("C:\\Users\\cl\\Desktop\\images\\=.png"); if (screen.exists("C:\\Users\\cl\\Desktop\\images\\42.png").isValid()) { System.out.println("ok!!!!!!!!!!!!!!!!!!"); }else { System.out.println("no!!!!!!!!!!!!!!!!!!!!!!!!!!!!"); } }`
The following error occurred during the run: java.lang.NullPointerException
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
Screen screen = new Screen(true);
should be:
Screen screen = new Screen();
No branches or pull requests
my path: jdk1.8 and windows10
my dependency :
com.sikulix
sikulixapi
2.0.5
my code:
` @SneakyThrows
@test
void test1() {
Runtime.getRuntime().exec("calc.exe");
Thread.sleep(2000);
The following error occurred during the run: java.lang.NullPointerException
The text was updated successfully, but these errors were encountered: