Sunil SK

Sunil SK

  • NA
  • 5
  • 2.3k

Not able to perform sikuli.Click() using sikuli4net in C#

Dec 21 2018 3:48 AM
Hi Experts,
 
I am using nuget reference Sikuli4net to click an image which is present in Windows screen. Below is some section of my code:
 
APILauncher launcher = new APILauncher(true);
launcher.Start();
Screen scr = new Screen();
Pattern Image1 = new Pattern(@"C:\Sikuli_Images\Image.png");
scr.Click(Image1, true);
 
I have added all the below DLL's and Packages required to run Sikuli, using Selenium in C#:
Sikuli4Net DLL, Newtonsoft.json, Selenium webdriver, Webdriver.Support and added
sikulirestapi-1.0.jar into Unit testing class library solution.
Please refer below error image:
 
 
 
Please suggest solution.