Sikuli Integration With Selenium Webdriver

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

usrnme

usrnext.png

usrnext

password.png

password

signin.png

signin

These are the images which is necessary to implement the sikuli integration.

Now we create a class for implementing the sikuli.

Written by 

Principal Architect at Knoldus Inc

2 thoughts on “Sikuli Integration With Selenium Webdriver

Leave a Reply

%d bloggers like this: