SlideShare a Scribd company logo
Web & Android Device
Integrated Automation Testing

Darshan Padmawar,
Automation Test Consultant,
Synechron Technologies Pvt. Ltd.
© 2012 Synechron All Rights Reserved

www.synechron.com
Agenda
Why to Integrate Web & Android Device Automation
Why Selenium-Robotium
How to Integrate
Demo
Q & A
Android Era
 You are living in Mobile Era
 Android is Market leader
 Increasing products having Web Interface and respective Mobile
clients
Why to Integrate

To Eliminate manual efforts,
 Data Synchronization between Device App and Web App
 Cross functionality verification on both platforms
 Synchronous interaction between Web App and Device App.
 Test over different networks-3G, Wifi

Web Portals

Mobile Apps
Why Selenium- Robotium

Selenium –
 Open Source
 Supports all browsers like IE, Firefox, Mozilla, Safari
 Supports all Operating Systems.
 Supports all programming languages Java,Ruby,C# and Python.
 Run multiple tests at a time.
 Simple API to interact with HTML elements.
 Easy to maintain
Why Selenium- Robotium

Robotium Open Source
 Supports Multiple Android versions
 Write once, run on any Android Device
 Easy to write, Shorter code
 No need of Android App Source Code
 Full supports for Android UI elements
 Built on Java language and uses Junit Framework
Integration Architecture

Driver Script

Selenium
TestCase

Web TC OutPut &
Logs

Robotium
TestCase

Compare o/p

Mobile TC
OutPut & Logs
How to Integrate
 Call the Robotium TestCase from Automation framework using
java.lang.Runtime class
 Integration Bridge CodeString mobileTest = (adb shell am instrument –w –e class
TestSuiteName+"#"+TestCaseName
testPackageName/android.test.InstrumentationTestRunner);
Process pr =Runtime.getRuntime().exec(mobileTest);
stdout = pr.getInputStream ();
BufferedReader brCleanUp = new BufferedReader (new
InputStreamReader (stdout));
String mobileOutput = brCleanUp.readLine ();

 Mobile test case log written in logfiles and fetched to machine using
adb commands
Demo
Q&A
Thank You

 darshanpadmawar@gmail.com

More Related Content

PDF
PHP in a mobile ecosystem
PPTX
Mobile automation testing with selenium and appium
PPTX
PPT from Webinar Create Hybrid Mobile Application in 1 hour
PDF
Appium Interview Questions and Answers | Edureka
PDF
Appium
PDF
Appium Mobile Test Automation like WebDriver
PDF
Automating Hybrid Applications with Appium
PPT
Android & iOS Automation Using Appium
PHP in a mobile ecosystem
Mobile automation testing with selenium and appium
PPT from Webinar Create Hybrid Mobile Application in 1 hour
Appium Interview Questions and Answers | Edureka
Appium
Appium Mobile Test Automation like WebDriver
Automating Hybrid Applications with Appium
Android & iOS Automation Using Appium

What's hot (20)

PPTX
Introduction to hybrid application development
PPTX
Appium ppt
PPTX
Getting Started with Mobile Test Automation & Appium
PPT
Using Selenium to Test Native Apps (Wait, you can do that?)
PDF
Android Feature Sprint
PDF
Appium - Reality check on the world’s leading Open Source Framework for Mobil...
PPTX
ATAGTR2017 Appium
PPTX
Appium solution artizone
PDF
Appium Architecture | How Appium Works | Edureka
PPTX
Ionic
PDF
Advanced Appium Tips & Tricks with Jonathan Lipps
PDF
Pdx Se Intro To Se
PPTX
Everything You Need To Know about Appium and Selenium
PPT
PDF
Appium basics
PPTX
Presentation
PPTX
Hybrid mobile app with Kendo UI Mobile
PPT
PDF
Provisioning Profile
PDF
Mobile automation using selenium cucumber & appium
Introduction to hybrid application development
Appium ppt
Getting Started with Mobile Test Automation & Appium
Using Selenium to Test Native Apps (Wait, you can do that?)
Android Feature Sprint
Appium - Reality check on the world’s leading Open Source Framework for Mobil...
ATAGTR2017 Appium
Appium solution artizone
Appium Architecture | How Appium Works | Edureka
Ionic
Advanced Appium Tips & Tricks with Jonathan Lipps
Pdx Se Intro To Se
Everything You Need To Know about Appium and Selenium
Appium basics
Presentation
Hybrid mobile app with Kendo UI Mobile
Provisioning Profile
Mobile automation using selenium cucumber & appium
Ad

Viewers also liked (7)

PPTX
Testing as-a-service capability portfolio corbus 02-07-13
PDF
QAI STC 2012 Plenary Keynote: Testing 3.0 - Pricing for Value
PDF
Testing Centralization
PDF
Leveraging the Power of Big Data
PDF
Business Simplification in the Digital Era
PPTX
A presentation on infosys
PDF
The Work Ahead: Soaring Out of the Process Silo
Testing as-a-service capability portfolio corbus 02-07-13
QAI STC 2012 Plenary Keynote: Testing 3.0 - Pricing for Value
Testing Centralization
Leveraging the Power of Big Data
Business Simplification in the Digital Era
A presentation on infosys
The Work Ahead: Soaring Out of the Process Silo
Ad

Similar to Web android automation-Darshan Padmawar (20)

PPT
Test automationslides
PDF
Web automation using selenium.ppt
PDF
An Overview of Selenium Grid and Its Benefits
PDF
Selenium, Appium, and Robots!
PPTX
Comprehensive Guide to UI & API Test Automation.pptx
PDF
Robotium - sampath
PDF
Learn Selenium - Online Guide
PDF
Introduction to Robotium
PPTX
Test Automation and Selenium
PPTX
Selenium presentation
PDF
Pros and Cons of Selenium In Automation Testing_ A Comprehensive Assessment.pdf
PPTX
Mobile WebDriver Selendroid
PDF
selenium-2-mobile-web-testing
PPTX
test-automation-selenium-160216124839.pptx
PPTX
Android Test Automation – one year later
PDF
Selenium Automation Testing - A Complete Guide.pdf
PDF
Selenium Automation Testing - A Complete Guide.pdf
PDF
Mobile Testing with Selenium 2 by Jason Huggins
PPTX
Next level of Appium
PPTX
A Definitive Guide to Mastering Selenium WebDriver Automation Effectively.pptx
Test automationslides
Web automation using selenium.ppt
An Overview of Selenium Grid and Its Benefits
Selenium, Appium, and Robots!
Comprehensive Guide to UI & API Test Automation.pptx
Robotium - sampath
Learn Selenium - Online Guide
Introduction to Robotium
Test Automation and Selenium
Selenium presentation
Pros and Cons of Selenium In Automation Testing_ A Comprehensive Assessment.pdf
Mobile WebDriver Selendroid
selenium-2-mobile-web-testing
test-automation-selenium-160216124839.pptx
Android Test Automation – one year later
Selenium Automation Testing - A Complete Guide.pdf
Selenium Automation Testing - A Complete Guide.pdf
Mobile Testing with Selenium 2 by Jason Huggins
Next level of Appium
A Definitive Guide to Mastering Selenium WebDriver Automation Effectively.pptx

More from bhumika2108 (19)

PDF
User Story Mapping - WHY and HOW, a handson workshop
PDF
Saying no to selenium tests
PDF
123 automation framework
PPTX
Where do my tests belong?
PPTX
Wearables & testing
PDF
Reliable and fast security audits - The modern and offensive way-Mohan Gandhi
PPTX
Did you check the UX Quality?-Rajarshi Ray
PPTX
QAing INFRASTRUCTURE- A QA's role in the DevOps World-Aroj P George & Harshad...
PPTX
Why did we delete our regression suite? Deepak Parmasivam & Sneha Vijayaraghavan
PPTX
Why do cars need to have the right breaking system -Shalabh Varma & Manisha A...
PPT
Why test automation promises more and delivers less - Deepak Koul
PPTX
Accessibility testing-Gyani and Siddhanth
PPT
Fuzz Testing-Atul Khot
PPT
Why every Tester should also aspire to be a Developer on his project!-Sandee...
PDF
Real time trend and failure analysis using TTA-Anand Bagmar & Aasawaree Deshmukh
PPT
Whats accessibility
PPTX
Add ons for software testers
PPTX
Relate UI automation & performance
PPTX
Automated infrastructure testing - by Ranjib Dey
User Story Mapping - WHY and HOW, a handson workshop
Saying no to selenium tests
123 automation framework
Where do my tests belong?
Wearables & testing
Reliable and fast security audits - The modern and offensive way-Mohan Gandhi
Did you check the UX Quality?-Rajarshi Ray
QAing INFRASTRUCTURE- A QA's role in the DevOps World-Aroj P George & Harshad...
Why did we delete our regression suite? Deepak Parmasivam & Sneha Vijayaraghavan
Why do cars need to have the right breaking system -Shalabh Varma & Manisha A...
Why test automation promises more and delivers less - Deepak Koul
Accessibility testing-Gyani and Siddhanth
Fuzz Testing-Atul Khot
Why every Tester should also aspire to be a Developer on his project!-Sandee...
Real time trend and failure analysis using TTA-Anand Bagmar & Aasawaree Deshmukh
Whats accessibility
Add ons for software testers
Relate UI automation & performance
Automated infrastructure testing - by Ranjib Dey

Recently uploaded (20)

PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Encapsulation theory and applications.pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Empathic Computing: Creating Shared Understanding
PPTX
Big Data Technologies - Introduction.pptx
PDF
cuic standard and advanced reporting.pdf
PPT
Teaching material agriculture food technology
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
Programs and apps: productivity, graphics, security and other tools
“AI and Expert System Decision Support & Business Intelligence Systems”
Diabetes mellitus diagnosis method based random forest with bat algorithm
Understanding_Digital_Forensics_Presentation.pptx
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
The AUB Centre for AI in Media Proposal.docx
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
NewMind AI Weekly Chronicles - August'25 Week I
Building Integrated photovoltaic BIPV_UPV.pdf
Encapsulation theory and applications.pdf
Encapsulation_ Review paper, used for researhc scholars
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
MIND Revenue Release Quarter 2 2025 Press Release
Network Security Unit 5.pdf for BCA BBA.
Empathic Computing: Creating Shared Understanding
Big Data Technologies - Introduction.pptx
cuic standard and advanced reporting.pdf
Teaching material agriculture food technology
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Chapter 3 Spatial Domain Image Processing.pdf
Programs and apps: productivity, graphics, security and other tools

Web android automation-Darshan Padmawar

  • 1. Web & Android Device Integrated Automation Testing Darshan Padmawar, Automation Test Consultant, Synechron Technologies Pvt. Ltd. © 2012 Synechron All Rights Reserved www.synechron.com
  • 2. Agenda Why to Integrate Web & Android Device Automation Why Selenium-Robotium How to Integrate Demo Q & A
  • 3. Android Era  You are living in Mobile Era  Android is Market leader  Increasing products having Web Interface and respective Mobile clients
  • 4. Why to Integrate To Eliminate manual efforts,  Data Synchronization between Device App and Web App  Cross functionality verification on both platforms  Synchronous interaction between Web App and Device App.  Test over different networks-3G, Wifi Web Portals Mobile Apps
  • 5. Why Selenium- Robotium Selenium –  Open Source  Supports all browsers like IE, Firefox, Mozilla, Safari  Supports all Operating Systems.  Supports all programming languages Java,Ruby,C# and Python.  Run multiple tests at a time.  Simple API to interact with HTML elements.  Easy to maintain
  • 6. Why Selenium- Robotium Robotium Open Source  Supports Multiple Android versions  Write once, run on any Android Device  Easy to write, Shorter code  No need of Android App Source Code  Full supports for Android UI elements  Built on Java language and uses Junit Framework
  • 7. Integration Architecture Driver Script Selenium TestCase Web TC OutPut & Logs Robotium TestCase Compare o/p Mobile TC OutPut & Logs
  • 8. How to Integrate  Call the Robotium TestCase from Automation framework using java.lang.Runtime class  Integration Bridge CodeString mobileTest = (adb shell am instrument –w –e class TestSuiteName+"#"+TestCaseName testPackageName/android.test.InstrumentationTestRunner); Process pr =Runtime.getRuntime().exec(mobileTest); stdout = pr.getInputStream (); BufferedReader brCleanUp = new BufferedReader (new InputStreamReader (stdout)); String mobileOutput = brCleanUp.readLine ();  Mobile test case log written in logfiles and fetched to machine using adb commands
  • 10. Q&A