I have a automation test suite written in java using Sikuli and TestNG. I have created a Jar file for this project. Sikuli requires some *.dll
to identify screen objects. To load these libraries I have used below code.
public class OmsTest {
static{
System.load("D:\\OMS\\bin\\Sikuli-IDE\\libs\\VisionProxy.dll");
System.load("D:\\OMS\\bin\\Sikuli-IDE\\libs\\Win32Util.dll");
}
...
}
However, it is giving dependent library not found:Win32Util.dll
when I run the jar file. I tried loading other dependant dlls, they all are getting loaded successfully and belong to same above path. I also have this location stored in PATH variable. But no luck. How should I make it work?
在https://answers.launchpad.net/sikuli/+question/272529上回答时,我切换到了SikuliX 1.1.0
而不是Sikuli Script X-1.0rc3
。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.