Robotium
-
Upload
sara-stanford -
Category
Software
-
view
96 -
download
0
Transcript of Robotium
ROBOTIUM
Your Proficient Testing Partner for Android Applications
By SPEC INDIA
Robotium – An Introduction
A forthcoming, enhanced framework to write automatic black box test cases on Android applications and to conduct testing on it
Founded and developed by Renas Reda Supports native and hybrid applications Overcomes constraints like
› Difficulty to handle multiple activities› Slow test execution performances› Complex test cases
Robotium – An Introduction (contd.)
Open source framework Tester can write test cases without any
know how of the application design using Robotium test case classes
Useful in writing functional, system and acceptance testing scenarios which span across multiple Android activities
Robotium – An Introduction (contd.)
Effective in cases where the source code is present as well as those wherein only the Android Application Package (APK) file is available
An expansion to the Android test framework
Released its latest version, Version 5.0.1 in January 2014, which features full customization and stability
Key Features of RobotiumSimplified test cases
Enhanced test coverage
Elevated performance
Can handle multiple activities
Sea
mless integration with IDE
Technical Observations on Robotium
Supports Toasts, Dialogs, Menus, Context Menus and Activities
Execution of the tests is done either on AVD (Android Virtual Device) – Android simulator or on a real device
Built on Java language and the JUnit testing framework
Can be executed from the command line Has the ability to detect the contents of a
Toast on the screen
Technical Observations on Robotium (contd.)
Showcases multiple techniques that respond to diverse graphical elements within an Android app, such as.› clickOnText(“Secure Login”);› clickOnButton(“Save”);› searchText(“Logout”);› goBack();› getButton();› isRadioButtonChecked();
Major Benefits
Accelerates the entire process of development and testing. Thus, reducing operational costs and enhancing the delivery time of the app to the market
Ease to develop effective test cases with minimum application knowledge
Speedy execution of test cases Less time needed to write test cases Smooth integration with tools like Maven,
Gradle or Ant
Major Benefits (contd.)
Automatic handling of multiple activities by the framework
Enhanced readability of test cases Automatic timing and delays Robustness due to run time binding to
GUI components Automatically finds Views and takes
own decisions like when to scroll etc.
Steps to be followed while using Robotium
Robotium library to be installed to test the project
Methods of Solo class should be used to write test cases
Tests should be executed on devices Test results to be obtained
SPEC INDIA and its expertise in Robotium
Expertise in using Robotium as a testing partner for the cluster of developed Android applications
Possess Extensive know how in › identifying when and what to automate› create reusable test cases› execution and enhancement of regression
tests › maintenance of automated tests along
with application changes
SPEC INDIA’s Offerings with Robotium
Implement Robotium automated testing solutions to handle your timing crunches, budges and quality aspects
Automate Android testing for multiple emulators at a time
Develop an innovative solution in the mobility segment
Testing partner for your Android applications
Thank You
Visit us @ http://www.spec-india.com/services/software-testing-services.html
and
request a FREE POC to Test Drive our services.