How to record your Android tests with Robotium Recorder

A couple of weeks ago, I wrote a post about the release of Robotium Recorder.
Today I want to show you, how to install and how to use the tool to record your Android tests. This tutorial based on the example Notepad app provided by the Robotium project, the source code can be found here.

Prerequisites & Installation

Before you start with recording, you have to install the Java JDK and the Android SDK. Be sure you have the latest version of the Android SDK installed or updated. If your development environment is up to date, you can import the sample app, provided by the Robotium project. Please follow the instructions in the sample, on how to insert the existing project to eclipse.

If Java, the Android SDK and the sample project is downloaded and installed, start Eclipse and open the Install New Software section in the Help menu (Help → Install New Software). In the input field “Work with” enter: http://recorder.robotium.com/updates and Press the Add… button and enter a name for the installation.

1_install_robotium_via_help

Read more

XCTest and OCUnit on real devices in the cloud

Yesterday, I read the latest blog post from AppThwack, that they now support real iOS devices on their test cloud. Developers and testers are now able to run their automated XCTest or OCUnit test suites against the provided cloud with more than 46 iOS devices, from iPhone to iPad. The big advantage of having the OCUnit … Read more

First official Testathon

One of my morning rituals is to check my favorite feeds and blogs about cool new stories, ideas and to be up to date in the tech and testing world. While reading through the feeds, one word made me curious. The word was Testathon! I never heard that word so far. So I click the word/ … Read more

Testing Experience (DE) – Testautomatisierung

The new issue of the german Testing Experience is available. This time the magazine topic is test automation.


Find some really interesting articles about:

  • Testautomatisierung auf dem Vormarsch
  • Testen als Karriere
  • Entwickler entdecken UI-Testing
  • Am Anfang stand das Wort
  • Given When Test

    Read more

Robotium Recorder

This week the version 5.0.1 of Robotium was released. The latest version has of course again many improvements and some new functionalities (methods) like pressSoftKeyboardNextButton(), waitForEmptyActivityStack(int timeout) or Solo.config. With Solo.config you have now different configuration options for your project. For further information check the latest javadoc.
The new version has also a new package name com.robotium.solo. To see all the new features check the example project or download Robotium 5.0.1 from here.

Robotium Recorder

Robotium Recorder

The biggest update that came with the new version of Robotium is Robotium Recorder! With the recorder you are able to capture your test steps of your app and to automatically
import the results to your test project. Robotium Recorder is an Eclipse plugin and can be installed from the following URL “http://recorder.robotium.com/update“. To install it, open eclipse and navigate to: Help --> Install New Software. Copy the URL in the “Work with” field and press Enter, wait while eclipse is loading the plugin and follow the wizard to install it. The full installation guide can be found here.

Read more