Monday, February 28, 2011

Sikuli for GUI Testing

             While searching for ways to test software GUIs I stumbled onto Sikuli (http://sikuli.org/). Sikuli is a visual search tool made by students at MIT. The software application allows users to specify an image as a search target and perform an action on the item depicted in the image once its found. For example if a software developer wanted to test an application's GUI for usability, the developer can take screen shots of the application's GUI. The developer would take screenshots of specific items such as buttons or toolbars and feed the images to Sikuli as visual search items. Sikuli would then search for the specified image on the application's GUI and execute the action specified by the developer. Sikuli acts like a software robot, the developer tells Sikuli what to search for Sikuli finds it and performs the specified action such as pushing a button, scrolling a text area etc...
                 Sikuli could be used to test the response time of an application's GUI from the perspective of a user. Using Sikuli it is conceivable for a developer to develop several hundred tests for an application's GUI and record results such as errors and response times. This information could then be used to improve the application's performance and usability.

No comments:

Post a Comment