Hi,
I am trying to run the following code.
WebUI.openBrowser(‘’)
WebUI.navigateToUrl(‘Liu Fu Shou’)
WebUI.maximizeWindow()
Thread.sleep(50000);
Settings.OcrTextRead=true;
Settings.OcrTextSearch=true;
Screen screen = new Screen();
Pattern ok1= new Pattern(“C:\\Users\\rasharma\\Pictures\\liufushou\\playgame.png”);
Finder finder1black=new Finder(screen.capture().getImage());
finder1black.find( ok1);
if( finder1black.hasNext())
{
Match m= finder1black.next();
screen.click(ok1);
System.out.println(“click is done on the play game”);
finder1black.destroy();
}
But getting the following error
Test Cases/demo FAILED because (of) java.lang.UnsatisfiedLinkError: D:\Softwares\kATALON123\demo1234\demo1234\Libs\Win32Util.dll: Can’t load IA 32-bit .dll on a AMD 64-bit platform
When i am executing the code(click on image using sikuli script ) in eclipse no such error.
**Environment Detail
**Window>>7,64 bit
java version “1.8.0_161”
Java™ SE Runtime Environment (build 1.8.0_161-b12)
Java HotSpot™ 64-Bit Server VM (build 25.161-b12, mixed mode)
Sikuli Version>>sikulixsetup-1.1.2
I have add the jar files in katalon related to sikuli
sikulix
sikulixapi
sikulixsetup-1.1.2
Selenium stand alone jar
Selenium java binding jar