sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #59156
Re: [Question #708465]: problem with native library: libVisionProxy.dylib
Question #708465 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/708465
mariia symchera gave more information on the question:
i am also in POM
###########################################################
<repositories>
<repository>
<id>sikulix</id>
<url>https://oss.sonatype.org/content/groups/public</url>
</repository>
</repositories>
<dependency>
<groupId>com.sikulix</groupId>
<artifactId>sikulixapi</artifactId>
<version>2.0.6-SNAPSHOT</version>
</dependency>
###########################################################
###########################################################
in code i used 2 types of integration - tried call jar file( scenario from IDE ) and used Sikuli inside the project
and now I don't get an error with the library - only [error]
Exit Value: 1
[error] Element: handleImageMissing: Response.ABORT: aborting
###########################################################
// Set the path to your JAR file
String jarFilePath = "/Users/msymchera/hi_sikuli.jar";
try {
// Build the command to run the JAR file
String command = "java -jar " + jarFilePath;
// Execute the command
Process process = Runtime.getRuntime().exec(command);
// Optionally, wait for the process to finish
process.waitFor();
// Optionally, check the exit value of the process
int exitValue = process.exitValue();
System.out.println("Exit Value: " + exitValue);
} catch (InterruptedException | IOException e) {
e.printStackTrace();
}
Screen s = new Screen();
Pattern goBackToGame = new Pattern("/src/test/resources/sikuli/go_back_to_game.png");
Match goBackButtonMatch = s.find(goBackToGame);
goBackButtonMatch.click();
--
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.