The Most Popular Android UI Automation Testing Tool Andrii Voitenko

Slides:



Advertisements
Similar presentations
© 2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Ashish Mishra Automation Lifecycle of Mobile Applications.
Advertisements

Cross Platform UI testing using Sikuli
Introduction to Maven 2.0 An open source build tool for Enterprise Java projects Mahen Goonewardene.
Web Toolkit Julie George & Ronald Lopez 1. Requirements  Java SDK version 1.5 or later  Apache Ant is also necessary to run command line arguments 
Jenkins User Conference San Francisco, Sept #jenkinsconf Business Process Model & Notation (BPMN) Workflows in Jenkins Max Spring Cisco
Programming with Android: SDK install and initial setup Luca Bedogni Marco Di Felice Dipartimento di Informatica: Scienza e Ingegneria Università di Bologna.
MONKEYTALK IDE BY SORNALATHA.K.
Test Automation Framework Ashesh Jain 2007EE50403 Manager Amit Maheshwari.
The Android Development Environment.  Getting started on the Android Platform  Installing required libraries  Programming Android using the Eclipse.
1 Mobile Computing Mobile First (formerly Worklight) Copyright 2015 by Janson Industries.
Android: Hello World Frank Xu Gannon University. Steps Configuration ▫Android SDK ▫Android Development Tools (ADT)  Eclipse plug-in ▫Android SDK and.
Google Android as a mobile development platform T Internet Technologies for Mobile Computing Olli Mäkinen.
Presented by IBM developer Works ibm.com/developerworks/ 2006 January – April © 2006 IBM Corporation. Making the most of Creating Eclipse plug-ins.
ANDROID PROGRAMMING MODULE 1 – GETTING STARTED
Setting up the Development Environment Copyright © SUPINFO. All rights reserved Preparation.
How to make it work? Doncho Minkov Telerik Academy academy.telerik.com Technical Trainer
Robotium Tran Dai T1309L. Introduce What is Robotium ? How can setup ? Why we need Robotium ? When.
By Ms.A.C.Sumathi AP(SG)/ Dept of CSE SNS College of Engineering, CBE.
INTERNATIONAL SUMMER ACADEMIC COURSE UNIVESITY OF NIS ISAC – Android programming.
SEEM4570: XAMPP, Eclipse, Summary of Html Kangfei Zhao Room 711,ERB
Creation of hybrid portlet application for file download using IBM Worklight and IBM Rational Application Developer v9 Gaurav Bhattacharjee Lakshmi Priya.
Chapter 3 Navigating a Project Goals & Objectives 1.Get familiar with the navigation of the project. How is everything structured? What settings can you.
Three-tier Mobile Application Testing Framework:
Google Maps Android API v2 吳俊興 國立高雄大學 資訊工程學系 CSF645 – Mobile Computing 行動計算
© 2005 by IBM; made available under the EPL v1.0 | March 1, 2005 Tim deBoer Gorkem Ercan Extend WTP Server Tools for your.
© 2012 LogiGear Corporation. All Rights Reserved Robot framework.
Introduction to Mobile Programming. Slide 2 Overview Fundamentally, it all works the same way You get the SDK for the device (Droid, Windows, Apple) You.
Testing with Android Part I of II. Android Testing Framework Based on JUnit The Android JUnit extensions provide component-specific test case classes.
Intro to Android Development Ben Lafreniere. Getting up and running Don’t use the VM! ials/hello-world.html.
Introduction to Android Android How to Program © by Pearson Education, Inc. All Rights Reserved.
Introduction to Android. Android as a system, is a java based operating system that runs on the Linux kernel. The system is very lightweight and full.
Ali Shahrokni Application Components Activities Services Content providers Broadcast receivers.
Android for Java Developers Denver Java Users Group Jan 11, Mike
Presented By: Muhammad Tariq Software Engineer Android Training course.
Eclipse. An IDE is an Integrated Development Environment Different IDEs meet different needs BlueJ, DrJava are designed as teaching tools Emphasis is.
Android Development Environment Environment/tools Windows Eclipse IDE for Java Developers (v3.5 Galileo) Java Platform (JDK 6 Update 18) Android.
Creating ontology Hands on! universAAL Training Day Barcelona, Spain 16 January 2014
 Installation of Android Development Environment  Creating the App with OpenGL ES API  Running the App on Emulator Android App Development.
Selenium January Selenium course content  Introduction (Session-1)Session-  Automation  What is automation testing  When to go for automation.
© 2008 by Shawn Spiars; made available under the EPL v1.0 | March 17, 2008 Case Study – Phurnace Software and RCP Shawn Spiars Lead UI Developer Phurnace.
Mohit Anand, Software Engineer Adobe 1 Selecting GUI Automation Testing Tool for Mobile Domain.
Selenium server By, Kartikeya Rastogi Mayur Sapre Mosheca. R
Test Automation Using Selenium Presented by: Shambo Ghosh Ankit Sachan Samapti Sinhamahapatra Akshay Kotawala.
TCS Internal Maps. 2 TCS Internal Objective Objective :  MAPS o Integration of Maps.
Software Design– Unit Testing SIMPLE PRIMER ON Junit Junit is a free simple library that is added to Eclipse to all automated unit tests. The first step,
Maven. Introduction Using Maven (I) – Installing the Maven plugin for Eclipse – Creating a Maven Project – Building the Project Understanding the POM.
An Introduction to Ant. What is Ant? How do you use it? Why would you want to?
Android apps development - Eclipse, Android SDK, and ADT plugin Introduction of.
Guide To Develop Mobile Apps With Titanium. Agenda Overview Installation of Platform SDKs Pros of Appcelerator Titanium Cons of Appcelerator Titanium.
PhoneGap. web-based mobile development framework, based on the open-source Cordova project. use standard web technologies such as HTML5, CSS3, and JavaScript.
Arklio Studija 2007 File: / / Page 1 Automated web application testing using Selenium
XNAT 1.7: Getting Started 6 June, Introduction In this presentation we’ll discuss:  Features and functions in XNAT 1.7  Requirements  Installing.
Introduction to Android Programming
Appium Studio Appium testing made easy at any scale.
Agenda:- DevOps Tools Chef Jenkins Puppet Apache Ant Apache Maven Logstash Docker New Relic Gradle Git.
Maven 04 March
Obtaining the Required Tools
Android.
On the road: Test automation in practice for a BMW map update service
Development-Introduction
Google Web Toolkit - Gufran Mohammed
Cross platform automated appium testing - A Primer
Introduction to Silverlight
Automation for mobile apps Presenter: Nikita Mader
Android Developer Fundamentals V2 Lesson 1
Working with Libraries
David Cleverly – Development Lead
Java Code Review with CheckStyle
Presentation transcript:

The Most Popular Android UI Automation Testing Tool Andrii Voitenko Robotium The Most Popular Android UI Automation Testing Tool Andrii Voitenko

Index Main Info & Benefits Installing and creating Robotium Project & Class Most used Robotium methods Locating Elements in Android application Conclusions

Main Info The tool is released under Apache License 2.0. Its founder and main developer is Renas Reda Version 5.0.1 was released on January 5, 2014 Robotium is similar to Selenium, but for Android It has support for a vast range of Android features such as activities, toasts, menus and context menus

Benefits Easy to write Simple API (All Methods are available only in Solo Class) Automatic Delays & Timings No need to write code, when navigating from one activity to another activity. Test Android native apps as well as the hybrid app. Able to handle multiple Android activities. Less time to write tests as the API is quite simple. Test cases are Robust, due to runtime binding to UI components Fast test case execution Integrates easily with Maven and ANT.

Prerequisites: Download Java Download ADT bundle Step #1: Open eclipse contains your android application to be tested.

Step #2: Create new Test project. Step #3: Give it a name Step #2: Create new Test project. Step #3: Give it a name. Step #4: Select the android application.

Step #5: Test project will be created in the eclipse workspace Step #5: Test project will be created in the eclipse workspace. Step #6: Download Robotium. Step #7: Configure build path. Step #8: Add Robotium to the libraries. Step #9: Robotium Test project is created successfully. Now it is possible to create classes under the project and start writing the test cases.

Creating Robotium Class #1: Import the Main Activity class the Robotium test project. #2: New class will inherit properties from ActivityInstrumentationTestCase2 class #3: Creating an Instance of Solo class #4: Creating a constructor for the Test class #5: Creating setUp (to Initiate the Instrumentation) and tearDown (to close the activity after the test has been completed) methods

Step #1: Open eclipse contains your android application to be tested Step #1: Open eclipse contains your android application to be tested. Step #2: Select an XML file, you want to automate. Step #3: Click on the element to locate, check its ID.

Conclusions Robotium is the most commonly used Android Test automation tool. Robotium Test cases can be executed on Android Emulator as well as on the real device, we don’t need to write any additional specific configuration code for it. Robotium Can be easily written in maven project also, and it can be run through continuous integration tools. Thus, Robotium is very useful in writing Android Test automation scripts.

Thank you for your attention!