|
Featured downloads:
robotium-solo-1.6.0.jar Show all » |
|
Featured wiki pages:
Getting_Started Maven Show all » |
User scenario testing for Android¶
Robotium is a test framework created to make it easy to write powerful and robust automatic black-box test cases for Android applications. With the support of Robotium, test case developers can write function, system and acceptance test scenarios, spanning multiple Android activities.
Robotium has full support for Activities, Dialogs, Toasts, Menus and Context Menus.
See Getting Started for example code and an example test project to download.
NEWS: Robotium 1.6.0 is now released!¶
Robotium 1.6.0 includes the following new methods: assertLowMemory(), clickOnImageButton(), clickOnCheckBox(), isCheckBoxChecked(), clickOnEditText(), waitForText(String text, int matches, long timeout, boolean scroll), clickOnText(String text, int match) and more.
Robotium provides the following benefits:¶
- You can develop powerful test cases, with 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 GUI components.
- Blazing fast test case execution.
- Integrates smoothly with Maven or Ant to run tests as part of continuous integration.
Plans for Robotium¶
Version 1.0 was released in January 2010. At the moment we focus primarily on supporting the community in using Robotium, fixing any issues that come up. As time allows, we will also continue developing features based on what we need and what others express interest in.
Features we want to implement next¶
- Remote control. Have your Robotium test cases run on a PC, in order to improve turn-around times. This is similar to Selenium RC.
- Straight-forward integration with Cucumber.
- Automatic measurement of user interface test coverage.
- Generate screenshots on failure.
Features further down the line¶
- Multidevice support. Write test cases which involve several devices interacting with each other.
This project is neither affiliated with Google nor with OpenQA (Selenium).
Android is a trademark of Google Inc. Use of this trademark is subject to Google Permissions.