Download as pdf or txt
Download as pdf or txt
You are on page 1of 18

Test Automation on Amit Dixit

android using Synerzip India Pvt.Ltd


Robotium

1
Objective
 Testing on android platform.
 Android Testing Framework.
 Current limitations of android testing
framework.
 Robotium and its current features
 Test Android apk file with Robotium
 Testing on emulator as well as on devices
using Robotium
 Current limitations of Robotium tool
 Future enhancements of Robotium
 Demo 2
What is android
 Android is a software stack for mobile devices
that includes an operating system, middleware
and key applications
 Android application components

 Android Manifest file


 Application resources

3
Android Testing Framework
 Androidplatform integrates a testing
framework.
 Framework supports

 The Android testing framework is based on the


JUnit 3.
4

Current Android Instrumentation
Limitations.

5
What is Robotium?
Robotium is very powerful framework for
Android platform. Robotium Supports

6
Robotium Features

7
Prerequisits for creating test project

8
Future Enhancements

9
How to create Test Project

10
Create your Test Case

11
Modify Manifest.xml file
Add Screen Shots from Eclipse

12
Add Robotium Jar File

13
Sample Test Case

14
Sample Test Case

15
Instrumentation Code Sample

16
Current Robotium Limitations
Robotium does not support flash and web
based applications.
Robotium does not work on Canvas.

17
?
Questions

18

You might also like