Skip to content
Renas Reda edited this page Aug 19, 2015 · 16 revisions

User scenario testing for Android

Robotium is an Android test automation framework that has full support for native and hybrid applications. Robotium makes it easy to write powerful and robust automatic black-box UI tests for Android applications. With the support of Robotium, test case developers can write function, system and user acceptance test scenarios, spanning multiple Android activities.

See Questions & Answers for common Robotium questions and answers.

See Getting Started for instructions and examples on how to create your first Robotium tests.

Join the discussions in the Robotium Developers Group.


NEWS: Robotium 5.4.1 is released!

Robotium 5.4.1 is the fastest, most accurate and stable version of Robotium yet. Note: Robotium has a new package name: com.robotium.solo.

New functionality includes: illustrate(), clickInRecyclerView(), clickLongInRecyclerView(), Solo.Config.commandLogging and more. See the Javadoc for more information.


Robotium provides the following benefits:

  • Test Android apps, both native and hybrid.
  • Requires minimal knowledge of the application under test.
  • The framework handles multiple Android activities automatically.
  • Minimal time needed to write solid test cases.
  • Readability of test cases is greatly improved, compared to standard instrumentation tests.
  • Test cases are more robust due to the run-time binding to UI components.
  • Fast test case execution.
  • Integrates smoothly with Maven, Gradle or Ant to run tests as part of continuous integration.

Robotium Recorder

  • Check out Robotium Recorder that will allow you to record Robotium test cases in minutes. Now also available for Android Studio! Free trial, for previous and new users alike!
Clone this wiki locally