Today I came across Project Sikuli from MIT labs. It is a visual technology to search and automate graphical user interface(GUI) using images or screenshots. It is a reasearch project developed by MIT computer science and Artificial Intelligence Laboratory(CSAIL).
Its kind of pretty neat. You download the tool and automate any menial task you have, like probably clearing out the /tmp folder or deleting the temporary internet files or FTPing or tweeting (you can do that too).
You can do lot of unit testing as well. Sikuli supports unit testing of GUI by integrating with junit. But you don;t need to write whole lot of code here with skiuli IDE, a python class inherited from junit.framework.TestCase? is automatically generated to wrap the unit testing script.Developers only need to write standard setUp(), tearDown and their test methods.
You can do lot of unit testing as well. Sikuli supports unit testing of GUI by integrating with junit. But you don;t need to write whole lot of code here with skiuli IDE, a python class inherited from junit.framework.TestCase? is automatically generated to wrap the unit testing script.Developers only need to write standard setUp(), tearDown and their test methods.
Following is the example
def setUp(self):
openApp("AnyRandom.app")
# wait until the app appears
wait(SCREENSHOT_OF_THE_APP)
def tearDown(self):
closeApp("AnyRandom.app")
# wait until the app disappears
untilNotExit(SCREENSHOT_OF_THE_APP)
def testA(self):
....
def testB(self):
....












