Tallan's Technology Blog

Tallan's Top Technologists Share Their Thoughts on Today's Technology Challenges

Posts Tagged "robotium"

Android automated black box testing with Robotium

Cris Kim

Requirements

Android SDK (version r11)
Robotium (version 3.0)
Eclipse Helios

Introduction
Automated tests are key in maintaining high quality software. They help catch bugs immediately when introducing new code and also ensure that new features do not conflict with existing functionality. Another advantage of automated tests, specially for Android applications is that it greatly speeds up testing when you have multiple builds for different devices. In this blog post I’ll go over how we use robotium in our TASS mobile project to implement automated black box tests.
Robotium is a plugin that extends existing instrumentation tests available on Android and addresses its shortcomings. Limitations such as slow execution times and having to manually delay the application to wait for the desired screen to be ready. For example, delays caused by waiting for a network request to complete before proceeding to the next screen. Robotium works by sending…

\\\