Sikuli image recognition method to identify GUI elements. Sikuli script allows users to automate GUI interaction by using screen shots. Sikuli tool working on image matchmethod. Sikuli take all the element as a image and store in the project. It will trigger the element when it matches the image. We pass the image with parameter.
Sikuli is very useful when we have do not any ID and name because it working on image recognition method. Its very useful when we have stable GUI.
Sikuli is also very useful for window application. We can automate the window application using sikuli. It provides the sikuli script jar file. We can download jar file from sikuli site.
Sikuli easily integrated with selenium webdriver.its open source tool.
First of all download the Sikuli-script jar file and include in your project.
Now we start the sikuli integration with selenium webdriver. So we make a simple application for Gmail login. For making the application We have to take screen-shot of username field, password, signin button.
usrnme.png
usrnext.png
password.png
signin.png
These are the images which is necessary to implement the sikuli integration.
Now we create a class for implementing the sikuli.
Reblogged this on Gaurav Shukla.
Best Sikuli – Pattern-Matching and Automation tutorial guide from Simpliv.
https://www.simpliv.com/developmenttool/show-and-tell-sikuli-pattern-matching-and-automation