Robotium 2.4 Released (automated android testing)

As someone who currently spends a lot of time doing testing I always appreciate the effort people put into building automated testing frameworks. There is nothing as boring as clicking on things and then checking the results…

Robotium is an automated test framework for Android. It allows you to write JUnit tests that start your application click on items on screen and from the menu and verify results. I have used it to test an application we are developing and it works quite well.

This release is mainly a maintenance release fixing bugs and so forth:

Hello Robotium Developers,

Robotium 2.4 is now released! Most of the work in this release has
gone into correcting defects and improving Robotium. The assert
methods have been re-designed in order to improve stability. I want to
thank everyone that have reported issues. They have all been corrected
and Robotium is now better then ever!

The only new functionality in this release is: waitForActivity(String
name) which includes a default timeout of 20 seconds (similar to the
other waitFor methods).

I hope you will enjoy this release!

http://code.google.com/p/robotium/downloads/list

Sincerely,
Renas

(exert from the Robotium mailing list)

The one big gap in Robotium is remote control support. Being able to drive Robotium remotely would work quite nicely from situations where you want to write your tests using another language (like ruby). I have had a go at bringing remote control support to robotium by taking a similar approach as the webdriver implementation for android. However there are many security concerns that prevent this being done in a generic way. If someone can find a way around these problems then Robotium would become an even more exciting proposition.

You can download Robotium from here

Selenium 2.0 released

Anyone who has seriously looked at automated browser testing will have come across selenium. For the last year or so it has been undergoing a pretty hefty transformation after merging with the webdriver project.

The result is a very fast (for browser based testing) reliable browser testing framework. Merging with webdriver brought native browser plugins which tremendously speeds up execution time. The plugin implements a REST API that allows the browser to be controlled from any of the client libraries or from Selenium Server – the remote control product.

One of the beauties of the Selenium project is that you can use it from pretty much any programming language. That is thanks to the REST API, as it is called over http pretty much any language can communicate with it so creating a library is not technically challenging. My language of choice is Ruby and the client library for it is excellent.

Today sees the release of version 2.0 which you can get from here. Ruby users can of course simply: gem install selenium-webdriver