Selenium vs Sikuli
Selenium vs Sikuli
Selenium :
Selenium is a web browser automation tool. It is open-source , has a large online community for web browser UI testing. It uses locators (id, classname, etc.) from HTML source code to automate testing of web pages. It can be used for testing on multiple browsers (IE, Chrome, Firefox, Safari, Opera). It also has support in multiple languages. It cannot automate desktop applications.
Sikuli:
While Sikuli is an image-based recognition testing tool. It uses images for comparison and performs various operations like click(), doubleClick(), rightClick(), text(). Requires images to be stored for image recognition. It compares images by percentage value comparison (how much the given image matches the region on which it is searching). It can test both the web application and system application. Might behave differently if the image saved, matches with more than one object on screen.
Selenium | Sikuli | |
---|---|---|
Skill requirement | Should have a basic knowledge of HTML, CSS and javascript | Even non IT professional can develop basic testing module |
Testing script development time | High | Low |
Platform dependency | It’s independent | It’s highly dependent. The same script won’t work on other machines. Because it purely works on image recognition. |
Suits for | Web application | Both web application and system application |
Widely used programming language | Java and Python | Jython |
API | Complicated | Simple |
Flash support | It cannot automate flash objects like audio player, video player, etc. | It completely supports to automate flash objects |
Working principle | It used HTML elements to do operation | It uses image recognition to find the UI components |
Where it’s applied? | Companies like Microsoft, Facebook, TenX and many, are using selenium to test their web applications. | It’s mostly used to test the system application, desktop games and mobile application(Using emulator) |