Wednesday, January 25, 2012

Robotium ... native android app automation framework

Automating Android Native Applications using Open Source Test Framework - ROBOTIUM
 
http://code.google.com/p/robotium/


ROBOTIUM Framework provides API’s to deal with various kinds of Widgets/UI , present in mobile applications developed using Android SDK.

About Robotium

Robotium is a UI Testing tool created  by JAYWAY to make it easy to write powerful and robust automatic black-box test cases for Android applications.

Robotium has full support for Activities, Dialogs, Toasts, Menus and Context Menus. And  simulates touching, clicks, typing, and other user actions relevant for Android applications.

How Robotium Uses Instrumentation feature provided in Android
 Investigate interaction with UI
 Pressing buttons, navigating menus

Features supported by Robotium

Runs on device/emulator
JUnit 3 compatible framework
Allows direct control of user interface
– Touches, Taps, Scrolling in lists
Can be started from Eclipse or command prompt
Automatic timing and delays
 Automatically follows current Activity
 Automatically finds Views
 Automatically makes own decisions
 when to scroll etc.
 No modification to Android platform

Limitations

No Script Recorder
Tied to one app process
Needs initial Activity.
No approach for Configuration Management.
No Data Driven Testing and Test Data Management Approach
No Reporting capabilities
No Screenshot Capture
No Remote Execution

No comments: