SlideShare a Scribd company logo
1 of 27
Download to read offline
©2015 InfoStretch Corporation. All rights reserved.	
  
Dr. Ashok Karania | January 21, 2015
Mobile
Automation
Lesson from the Trenches
©2015 InfoStretch Corporation. All rights reserved.	
  
Agenda
§ Mobile	
  Landscape	
  &	
  Tes1ng	
  Challenges	
  
§ Automa1on	
  Challenges	
  
§ Lessons	
  From	
  The	
  Trenches	
  
§ Case	
  Study	
  
§ Q	
  &	
  A	
  
©2015 InfoStretch Corporation. All rights reserved.	
  
§  Apps
Tested
§  Employees
100+
§  Apps
developed and
deployed
3000+
Global Footprint
A leading provider of next-gen mobile application lifecycle services
ranging from design and development to testing and sustenance.
About us
Locations
Corporate HQ: Silicon Valley
Offices: Conshohocken (PA), Ahmedabad (India), Pune (India), London (UK)
600+
250K
§  Active Mobile
Customers
Engagements
60+
About Infostretch
§  Real devices
in mobile labs
©2015 InfoStretch Corporation. All rights reserved.	
  
Mobile Landscape &
Testing Challenges
©2015 InfoStretch Corporation. All rights reserved.	
  
25%
1.7B
95%Of adults are online with
3+ devices
Forrester 2013
Number of smartphones and
tablets shipped worldwide will
more than double by 2017
IDC 2014
Of enterprises allow BYOD
in some form
FierceMobileIT2014
31.7%The mobile applications market
is expected to increase
31.7% by 2017
IDC 2014
©2015 InfoStretch Corporation. All rights reserved.	
  
THE FUTURE IS MOBILE
WEARABLES GLASS
FLEXIBLE
SMARTPHONESVIRTUAL
©2015 InfoStretch Corporation. All rights reserved.	
  
AND BEYOND
INTERNET
OF
THINGS
BIONICS
AND
ROBOTICS
COGNITIVE
COMPUTING
3D PRINTERS
TRANSPARENT
LCDs
CONNECTED
CARS
©2015 InfoStretch Corporation. All rights reserved.	
  
YOU NEED A NEW VISION, NOT A NEW VERSION
CONNECTED AGILE COMMUNITY
NEXT GEN ENTERPRISE
©2015 InfoStretch Corporation. All rights reserved.	
  
Mobile Automation Is Imperative
§  Mobile Testing Is Everything We Do On Web & More & More
§  Enables To Meet Compressed Release and Development Cycles
§  Address Fragmentation of Devices, Platforms and Carriers
§  Generate Real World Testing Conditions
§  Improve Overall Testing Quality
§  Overall Time & Resource Efficiencies
§  Systematic
©2015 InfoStretch Corporation. All rights reserved.	
  
Automation Challenges
from the Trenches
©2015 InfoStretch Corporation. All rights reserved.	
  
1. Device Fragmentation
~12K Android
Devices
©2015 InfoStretch Corporation. All rights reserved.	
  
2. Why Real Devices Are A Nightmare
Fragile Slow Maintenance Issues Cost	
   Other App
Inter-Operability
!
©2015 InfoStretch Corporation. All rights reserved.	
  
3. Simulating Real Life Conditions
The Real Mobile End User Experience Can Be Different
§  Servers Will Be Loaded
§  Devices Will Behave Differently
§  Network Will React Differently
Apps Behave Differently In Special Conditions
§  CPU Usage
§  RAM
§  Network Conditions
§  Other Apps
§  Environment conditions
§  Light Conditions
We Need
Real Life
Testing
Conditions!
©2015 InfoStretch Corporation. All rights reserved.	
  
4. Mobile Device Lab Is A Big Challenge
§  Test Lab Creation
§  Test Lab Maintenance
§  Team
§  Buy Or Cloud
§  Globally Available
§  Management
§  Contracts
§  OS Upgrades
§  Procurement Policy
§  Performance
§  Security
©2015 InfoStretch Corporation. All rights reserved.	
  
Lessons from
the Trenches
©2015 InfoStretch Corporation. All rights reserved.	
  
The  best  way  to  deal  with  mobile  device  
automa4on  challenge  is  to  not	
  automate	
  	
  
every  thing  on  the  mobile  devices
”
“	
  
©2015 InfoStretch Corporation. All rights reserved.	
  
How	
  To	
  
Eat	
  An	
  Elephant	
  
§ Priori1ze	
  Business	
  Needs	
  &	
  Analyze	
  Test	
  Cases	
  
§ Design	
  An	
  Automa1on	
  Framework	
  
§ Select	
  Right	
  Automa1on	
  Tool	
  
	
  License	
  VS	
  OS,	
  Integra1ons,	
  Exis1ng	
  Investment,	
  Mobile	
  Friendly,	
  Team	
  Experience	
  
§ Automate	
  All	
  Func1onal	
  Test	
  Cases	
  On	
  Simulators	
  
Mobile	
  Web	
  Can	
  Be	
  Simulated	
  By	
  Tes1ng	
  On	
  Real	
  Browsers	
  Using	
  User	
  Agent	
  Strings	
  
Na1ve	
  Can	
  Be	
  Tested	
  By	
  Using	
  Simulators	
  
§ Automate	
  Device	
  Centric	
  &	
  Cri1cal	
  Func1onal	
  Test	
  Cases	
  On	
  Real	
  Devices	
  
§ Iden1fy	
  &	
  Integrate	
  Non-­‐Mobile	
  Elements	
  Of	
  Automa1on	
  
	
  Data	
  Condi1oning,	
  SeRngs	
  Pre-­‐Requisites,	
  Environment	
  SeRngs	
  
©2015 InfoStretch Corporation. All rights reserved.	
  
NATURE OF
TEST CASES
Func1onal	
  
Non-­‐
Func1onal	
  
Security	
  
Performance	
  
TYPE OF APP
Business	
  App	
  
Social	
  
Networking	
  
Gaming	
  App	
  
U1lity	
  App	
  
VERIFICATION
CRITERIA
Business	
  
Rules	
  
Look	
  &	
  Feel	
  
Response	
  
Time	
  
Content	
  
TARGET
USERS
Enterprises	
  
Consumer	
  	
  
Field	
  
Engineers	
  
Test
Case
Analysis
1. 	
  
©2015 InfoStretch Corporation. All rights reserved.	
  
Meeting Device Fragmentation - Device
Type of the App
Games
Social
Business
User Personas
Business
Teen
Social
Geography
Asia Pac
Americas etc.
App Functions
Streaming
Screen Res
GPS etc.
Device Popularity
Form Factor OS
Output: Device/OS/
Test Matrix
©2015 InfoStretch Corporation. All rights reserved.	
  
iOS
Android
HTC Aria
Android
HTC Droid
BB Torch LG CU620
LG
VX9000
Device Implementations for Sign On (10+)
BB 8520
Devices
Browser
Open
Browser
Go To
Sign On
Make
Payment
Confirm
Payment
Sign OffText Verify
Make Payment Test caseQTP/Selenium
Address
ATM
Search
Browser
Open
Select Acct
View
Schedule
Payment
Sync Text
Quick
Links
Nick Name
Browser
Go To
Sign Off
ZIP ATM
Search
Make
Payment
Sync
Image
Confirm
Payment
Framework
Sign On
Component Library
2. Mobile Test Automation Framework
©2015 InfoStretch Corporation. All rights reserved.	
  
Automation Tools
Tool	
   Supported	
  
Pla.orms	
  
Basis	
  of	
  
Automa5on	
  
Scrip5ng	
  
Language	
  
Instrumenta5o
n	
  Required	
  
Repor5ng	
  Format	
   Cost	
  
A	
   Object	
  Access	
   All	
  Major	
   No	
   HTML,	
  Junit,	
  CSV	
   Free	
  
P	
   Both	
   Na5ve,	
  Visual	
  
Basic,	
  Java	
  
Either	
   HTML,	
  PDF,	
  
Na5ve	
  
Paid	
  
K	
   Object	
  Access	
   Objec1ve-­‐C	
   Yes	
   XCode	
   Free	
  
C	
   Object	
  Access	
   Ruby,	
  C#,	
  JVM	
   Yes	
   HTML	
   Free	
  
MR	
   Object	
  Access	
   Python	
   Yes	
   Junit	
   Free	
  
R	
   Object	
  Access	
   Java	
   Yes	
   Junit	
   Free	
  
MT	
   Both	
   JS,	
  Na1ve	
   Yes	
   HTML/Junit	
   Paid	
  
X	
   Both	
   C#,	
  Ruby	
   No	
   HTML	
   Paid	
  
T	
   GUI	
   N.A	
   Yes	
   Various	
   Paid	
  
E	
   GUI	
   Na1ve	
   No	
   Na1ve	
   Paid	
  
©2015 InfoStretch Corporation. All rights reserved.	
  
Cloud Options
•  Real Devices – Perfecto
•  Simulators – Sauce Labs
In-House Mobile Labs
Crowd Sourcing
Meeting The Device Lab Challenge
©2015 InfoStretch Corporation. All rights reserved.	
  
APPROACH QUALITY
COST
EFFECTIVENESS
SECURITY PRIVACY ACCOUNTABILITY
TIME TO
MARKET
DEVICE
COVERAGE
GLOBAL
TESTING
Simulator/Emulator 3 5 3 4 4 4 3 5
Real Mobile Devices 4 2 5 5 5 2 5 4
Remote Mobile Access 4 4 4 4 4 5 4 4
Crowd sourcing 2 3 2 1 1 3 4 4
Managed Testing Services 5 3 5 5 5 4 5 4
Guide:
Least Effective 0 Most Effective 5
Comparative Evaluation Of Device Testing Options
©2015 InfoStretch Corporation. All rights reserved.	
  
Create Real Life Conditions
Manage CPU Usage Manage Memory Manage Network BandwidthCreate & Manage Interruptions
Manage Location Of DeviceManage OrientationTurn WIFI On or Off
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
©2015 InfoStretch Corporation. All rights reserved.	
  
Summary: How To Eat An Elephant
One Bit At A Time
§  Prioritize Business Needs & Analyze Test Cases
§  Design An Automation Framework
§  Select Right Automation Tool
§  Automate All Functional Test Cases On Simulators
§  Automate Device Centric & Critical Functional Test Cases On Real Devices
§  Identify & Integrate Non-Mobile Elements Of Automation
©2015 InfoStretch Corporation. All rights reserved.	
  
Continue The Dialogue…
Email:	
  ashok.karania@infostretch.com	
  
Linkedin:	
  ashokkarania	
  
Blog:	
  blog.infostretch.com	
  
Blog:	
  www.ashokkarania.com	
  
Visit	
  ATOS	
  Booth	
  Today	
  &	
  Tomorrow!	
  	
  
©2015 InfoStretch Corporation. All rights reserved.	
  
CONNECT WITH US:
Thank You
Tel: 408.727.1100
Email: info@infostretch.com
URL: www.infostretch.com

More Related Content

What's hot

B3 mobile development and deployment platform enabled by oracle fusion midd...
B3   mobile development and deployment platform enabled by oracle fusion midd...B3   mobile development and deployment platform enabled by oracle fusion midd...
B3 mobile development and deployment platform enabled by oracle fusion midd...
Dr. Wilfred Lin (Ph.D.)
 

What's hot (18)

Designing a Mobile Device Lab - XBOSoft Webinar
Designing a Mobile Device Lab - XBOSoft WebinarDesigning a Mobile Device Lab - XBOSoft Webinar
Designing a Mobile Device Lab - XBOSoft Webinar
 
Akorn Pharmaceutical Success Story
Akorn Pharmaceutical Success Story Akorn Pharmaceutical Success Story
Akorn Pharmaceutical Success Story
 
Measuring mobile performance (@LDNWebPerf Version)
Measuring mobile performance (@LDNWebPerf Version)Measuring mobile performance (@LDNWebPerf Version)
Measuring mobile performance (@LDNWebPerf Version)
 
B3 mobile development and deployment platform enabled by oracle fusion midd...
B3   mobile development and deployment platform enabled by oracle fusion midd...B3   mobile development and deployment platform enabled by oracle fusion midd...
B3 mobile development and deployment platform enabled by oracle fusion midd...
 
APIs Fueling the Connected Car Opportunity - Scott Morrison, SVP & Distinguis...
APIs Fueling the Connected Car Opportunity - Scott Morrison, SVP & Distinguis...APIs Fueling the Connected Car Opportunity - Scott Morrison, SVP & Distinguis...
APIs Fueling the Connected Car Opportunity - Scott Morrison, SVP & Distinguis...
 
Authentic BTL Monitoring - It's Possible. Get away those "photoshoped" photos...
Authentic BTL Monitoring - It's Possible. Get away those "photoshoped" photos...Authentic BTL Monitoring - It's Possible. Get away those "photoshoped" photos...
Authentic BTL Monitoring - It's Possible. Get away those "photoshoped" photos...
 
Venture Summit 2014, Pankaj Kedia
Venture Summit 2014, Pankaj KediaVenture Summit 2014, Pankaj Kedia
Venture Summit 2014, Pankaj Kedia
 
How United is Leading the Pack to Drive Better Business Outcomes - AppSphere16
How United is Leading the Pack to Drive Better Business Outcomes - AppSphere16How United is Leading the Pack to Drive Better Business Outcomes - AppSphere16
How United is Leading the Pack to Drive Better Business Outcomes - AppSphere16
 
Collaborative Robots 101: The Anatomy of a Cobot
Collaborative Robots 101: The Anatomy of a CobotCollaborative Robots 101: The Anatomy of a Cobot
Collaborative Robots 101: The Anatomy of a Cobot
 
Prepare Your DevOps Culture to Withstand the Digital Experience Onslaught
Prepare Your DevOps Culture to Withstand the Digital Experience OnslaughtPrepare Your DevOps Culture to Withstand the Digital Experience Onslaught
Prepare Your DevOps Culture to Withstand the Digital Experience Onslaught
 
Automotive Exploitation Techniques by Craig Smith
Automotive Exploitation Techniques by Craig SmithAutomotive Exploitation Techniques by Craig Smith
Automotive Exploitation Techniques by Craig Smith
 
Suns Out Guns Out: Hacking without a Vehicle by Charlie Miller & Chris Valasek
Suns Out Guns Out: Hacking without a Vehicle by Charlie Miller & Chris ValasekSuns Out Guns Out: Hacking without a Vehicle by Charlie Miller & Chris Valasek
Suns Out Guns Out: Hacking without a Vehicle by Charlie Miller & Chris Valasek
 
App portal 2015: Universal Enterprise App Store
App portal 2015: Universal Enterprise App StoreApp portal 2015: Universal Enterprise App Store
App portal 2015: Universal Enterprise App Store
 
Wolfgang Stelzle (RE’FLEKT) Time to make Money with Augmented Reality – Tools...
Wolfgang Stelzle (RE’FLEKT) Time to make Money with Augmented Reality – Tools...Wolfgang Stelzle (RE’FLEKT) Time to make Money with Augmented Reality – Tools...
Wolfgang Stelzle (RE’FLEKT) Time to make Money with Augmented Reality – Tools...
 
Rudi Schubert (IEEE Standards Association) Challenges for Smartglasses Adoption
Rudi Schubert (IEEE Standards Association) Challenges for Smartglasses AdoptionRudi Schubert (IEEE Standards Association) Challenges for Smartglasses Adoption
Rudi Schubert (IEEE Standards Association) Challenges for Smartglasses Adoption
 
Alpha Anywhere presentation at the the Always on Summit -- Building Offline M...
Alpha Anywhere presentation at the the Always on Summit -- Building Offline M...Alpha Anywhere presentation at the the Always on Summit -- Building Offline M...
Alpha Anywhere presentation at the the Always on Summit -- Building Offline M...
 
L'App Marketing par Thomas Petit, French Digital Berlin
L'App Marketing par Thomas Petit, French Digital BerlinL'App Marketing par Thomas Petit, French Digital Berlin
L'App Marketing par Thomas Petit, French Digital Berlin
 
What are low code application platforms and why are business worldwide adopti...
What are low code application platforms and why are business worldwide adopti...What are low code application platforms and why are business worldwide adopti...
What are low code application platforms and why are business worldwide adopti...
 

Similar to Mobile Automation: Lessons From The Trenches

Experitest & Capgemini Co-webinar -
Experitest & Capgemini Co-webinar -Experitest & Capgemini Co-webinar -
Experitest & Capgemini Co-webinar -
Experitest
 

Similar to Mobile Automation: Lessons From The Trenches (20)

Getting Started with Mobile Test Automation & Appium
Getting Started with Mobile Test Automation & AppiumGetting Started with Mobile Test Automation & Appium
Getting Started with Mobile Test Automation & Appium
 
Ensuring Maximum Quality in the Era of IoT and Wearables
Ensuring Maximum Quality in the Era of IoT and WearablesEnsuring Maximum Quality in the Era of IoT and Wearables
Ensuring Maximum Quality in the Era of IoT and Wearables
 
Hyper-connected apps: Hyper-Connected Apps: Testing Peripherals and Mobile Ap...
Hyper-connected apps: Hyper-Connected Apps: Testing Peripherals and Mobile Ap...Hyper-connected apps: Hyper-Connected Apps: Testing Peripherals and Mobile Ap...
Hyper-connected apps: Hyper-Connected Apps: Testing Peripherals and Mobile Ap...
 
Mobile Testing Tools 101
Mobile Testing Tools 101Mobile Testing Tools 101
Mobile Testing Tools 101
 
Experitest & Capgemini Co-webinar -
Experitest & Capgemini Co-webinar -Experitest & Capgemini Co-webinar -
Experitest & Capgemini Co-webinar -
 
Mobile Automation and Best Practices - Siva Sundararaman
Mobile Automation and Best Practices - Siva SundararamanMobile Automation and Best Practices - Siva Sundararaman
Mobile Automation and Best Practices - Siva Sundararaman
 
Universal test solutions customer testimonial 10192013-v2.2
Universal test solutions customer testimonial 10192013-v2.2Universal test solutions customer testimonial 10192013-v2.2
Universal test solutions customer testimonial 10192013-v2.2
 
Oracle Cloud Café IOT 12 avril 2016
Oracle Cloud Café IOT 12 avril 2016Oracle Cloud Café IOT 12 avril 2016
Oracle Cloud Café IOT 12 avril 2016
 
Oracle Cloud Café IoT 12-APR-2016
Oracle Cloud Café IoT 12-APR-2016Oracle Cloud Café IoT 12-APR-2016
Oracle Cloud Café IoT 12-APR-2016
 
Let's Talk Mobile
Let's Talk MobileLet's Talk Mobile
Let's Talk Mobile
 
Testing Mobile App Performance
Testing Mobile App PerformanceTesting Mobile App Performance
Testing Mobile App Performance
 
Real Devices or Emulators: Wen to use What for Automated Testing
Real Devices or Emulators: Wen to use What for Automated TestingReal Devices or Emulators: Wen to use What for Automated Testing
Real Devices or Emulators: Wen to use What for Automated Testing
 
IoT Cloud Service & Partner IoT Solution
IoT Cloud Service & Partner IoT Solution IoT Cloud Service & Partner IoT Solution
IoT Cloud Service & Partner IoT Solution
 
Agile Network India | New to Automation? Learn what, how & when | TRIPTI MITTAL
Agile Network India | New to Automation? Learn what, how & when | TRIPTI MITTALAgile Network India | New to Automation? Learn what, how & when | TRIPTI MITTAL
Agile Network India | New to Automation? Learn what, how & when | TRIPTI MITTAL
 
Mobile Testing: What—and What Not—to Automate
Mobile Testing: What—and What Not—to AutomateMobile Testing: What—and What Not—to Automate
Mobile Testing: What—and What Not—to Automate
 
IBM Mobile Overview for Ecosystem Partners
IBM Mobile Overview for Ecosystem PartnersIBM Mobile Overview for Ecosystem Partners
IBM Mobile Overview for Ecosystem Partners
 
Innovate 2013 session 1243 mobile testing.v3
Innovate 2013   session 1243 mobile testing.v3Innovate 2013   session 1243 mobile testing.v3
Innovate 2013 session 1243 mobile testing.v3
 
Forget Mobile-First … Move your customers to IoT-First, Drew Johnson, Aeris C...
Forget Mobile-First … Move your customers to IoT-First, Drew Johnson, Aeris C...Forget Mobile-First … Move your customers to IoT-First, Drew Johnson, Aeris C...
Forget Mobile-First … Move your customers to IoT-First, Drew Johnson, Aeris C...
 
Attinad Software IoT offerings
Attinad Software IoT offeringsAttinad Software IoT offerings
Attinad Software IoT offerings
 
Going Beyond the Device Heart Beat
Going Beyond the Device Heart BeatGoing Beyond the Device Heart Beat
Going Beyond the Device Heart Beat
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Recently uploaded (20)

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 

Mobile Automation: Lessons From The Trenches

  • 1. ©2015 InfoStretch Corporation. All rights reserved.   Dr. Ashok Karania | January 21, 2015 Mobile Automation Lesson from the Trenches
  • 2. ©2015 InfoStretch Corporation. All rights reserved.   Agenda § Mobile  Landscape  &  Tes1ng  Challenges   § Automa1on  Challenges   § Lessons  From  The  Trenches   § Case  Study   § Q  &  A  
  • 3. ©2015 InfoStretch Corporation. All rights reserved.   §  Apps Tested §  Employees 100+ §  Apps developed and deployed 3000+ Global Footprint A leading provider of next-gen mobile application lifecycle services ranging from design and development to testing and sustenance. About us Locations Corporate HQ: Silicon Valley Offices: Conshohocken (PA), Ahmedabad (India), Pune (India), London (UK) 600+ 250K §  Active Mobile Customers Engagements 60+ About Infostretch §  Real devices in mobile labs
  • 4. ©2015 InfoStretch Corporation. All rights reserved.   Mobile Landscape & Testing Challenges
  • 5. ©2015 InfoStretch Corporation. All rights reserved.   25% 1.7B 95%Of adults are online with 3+ devices Forrester 2013 Number of smartphones and tablets shipped worldwide will more than double by 2017 IDC 2014 Of enterprises allow BYOD in some form FierceMobileIT2014 31.7%The mobile applications market is expected to increase 31.7% by 2017 IDC 2014
  • 6. ©2015 InfoStretch Corporation. All rights reserved.   THE FUTURE IS MOBILE WEARABLES GLASS FLEXIBLE SMARTPHONESVIRTUAL
  • 7. ©2015 InfoStretch Corporation. All rights reserved.   AND BEYOND INTERNET OF THINGS BIONICS AND ROBOTICS COGNITIVE COMPUTING 3D PRINTERS TRANSPARENT LCDs CONNECTED CARS
  • 8. ©2015 InfoStretch Corporation. All rights reserved.   YOU NEED A NEW VISION, NOT A NEW VERSION CONNECTED AGILE COMMUNITY NEXT GEN ENTERPRISE
  • 9. ©2015 InfoStretch Corporation. All rights reserved.   Mobile Automation Is Imperative §  Mobile Testing Is Everything We Do On Web & More & More §  Enables To Meet Compressed Release and Development Cycles §  Address Fragmentation of Devices, Platforms and Carriers §  Generate Real World Testing Conditions §  Improve Overall Testing Quality §  Overall Time & Resource Efficiencies §  Systematic
  • 10. ©2015 InfoStretch Corporation. All rights reserved.   Automation Challenges from the Trenches
  • 11. ©2015 InfoStretch Corporation. All rights reserved.   1. Device Fragmentation ~12K Android Devices
  • 12. ©2015 InfoStretch Corporation. All rights reserved.   2. Why Real Devices Are A Nightmare Fragile Slow Maintenance Issues Cost   Other App Inter-Operability !
  • 13. ©2015 InfoStretch Corporation. All rights reserved.   3. Simulating Real Life Conditions The Real Mobile End User Experience Can Be Different §  Servers Will Be Loaded §  Devices Will Behave Differently §  Network Will React Differently Apps Behave Differently In Special Conditions §  CPU Usage §  RAM §  Network Conditions §  Other Apps §  Environment conditions §  Light Conditions We Need Real Life Testing Conditions!
  • 14. ©2015 InfoStretch Corporation. All rights reserved.   4. Mobile Device Lab Is A Big Challenge §  Test Lab Creation §  Test Lab Maintenance §  Team §  Buy Or Cloud §  Globally Available §  Management §  Contracts §  OS Upgrades §  Procurement Policy §  Performance §  Security
  • 15. ©2015 InfoStretch Corporation. All rights reserved.   Lessons from the Trenches
  • 16. ©2015 InfoStretch Corporation. All rights reserved.   The  best  way  to  deal  with  mobile  device   automa4on  challenge  is  to  not  automate     every  thing  on  the  mobile  devices ” “  
  • 17. ©2015 InfoStretch Corporation. All rights reserved.   How  To   Eat  An  Elephant   § Priori1ze  Business  Needs  &  Analyze  Test  Cases   § Design  An  Automa1on  Framework   § Select  Right  Automa1on  Tool    License  VS  OS,  Integra1ons,  Exis1ng  Investment,  Mobile  Friendly,  Team  Experience   § Automate  All  Func1onal  Test  Cases  On  Simulators   Mobile  Web  Can  Be  Simulated  By  Tes1ng  On  Real  Browsers  Using  User  Agent  Strings   Na1ve  Can  Be  Tested  By  Using  Simulators   § Automate  Device  Centric  &  Cri1cal  Func1onal  Test  Cases  On  Real  Devices   § Iden1fy  &  Integrate  Non-­‐Mobile  Elements  Of  Automa1on    Data  Condi1oning,  SeRngs  Pre-­‐Requisites,  Environment  SeRngs  
  • 18. ©2015 InfoStretch Corporation. All rights reserved.   NATURE OF TEST CASES Func1onal   Non-­‐ Func1onal   Security   Performance   TYPE OF APP Business  App   Social   Networking   Gaming  App   U1lity  App   VERIFICATION CRITERIA Business   Rules   Look  &  Feel   Response   Time   Content   TARGET USERS Enterprises   Consumer     Field   Engineers   Test Case Analysis 1.  
  • 19. ©2015 InfoStretch Corporation. All rights reserved.   Meeting Device Fragmentation - Device Type of the App Games Social Business User Personas Business Teen Social Geography Asia Pac Americas etc. App Functions Streaming Screen Res GPS etc. Device Popularity Form Factor OS Output: Device/OS/ Test Matrix
  • 20. ©2015 InfoStretch Corporation. All rights reserved.   iOS Android HTC Aria Android HTC Droid BB Torch LG CU620 LG VX9000 Device Implementations for Sign On (10+) BB 8520 Devices Browser Open Browser Go To Sign On Make Payment Confirm Payment Sign OffText Verify Make Payment Test caseQTP/Selenium Address ATM Search Browser Open Select Acct View Schedule Payment Sync Text Quick Links Nick Name Browser Go To Sign Off ZIP ATM Search Make Payment Sync Image Confirm Payment Framework Sign On Component Library 2. Mobile Test Automation Framework
  • 21. ©2015 InfoStretch Corporation. All rights reserved.   Automation Tools Tool   Supported   Pla.orms   Basis  of   Automa5on   Scrip5ng   Language   Instrumenta5o n  Required   Repor5ng  Format   Cost   A   Object  Access   All  Major   No   HTML,  Junit,  CSV   Free   P   Both   Na5ve,  Visual   Basic,  Java   Either   HTML,  PDF,   Na5ve   Paid   K   Object  Access   Objec1ve-­‐C   Yes   XCode   Free   C   Object  Access   Ruby,  C#,  JVM   Yes   HTML   Free   MR   Object  Access   Python   Yes   Junit   Free   R   Object  Access   Java   Yes   Junit   Free   MT   Both   JS,  Na1ve   Yes   HTML/Junit   Paid   X   Both   C#,  Ruby   No   HTML   Paid   T   GUI   N.A   Yes   Various   Paid   E   GUI   Na1ve   No   Na1ve   Paid  
  • 22. ©2015 InfoStretch Corporation. All rights reserved.   Cloud Options •  Real Devices – Perfecto •  Simulators – Sauce Labs In-House Mobile Labs Crowd Sourcing Meeting The Device Lab Challenge
  • 23. ©2015 InfoStretch Corporation. All rights reserved.   APPROACH QUALITY COST EFFECTIVENESS SECURITY PRIVACY ACCOUNTABILITY TIME TO MARKET DEVICE COVERAGE GLOBAL TESTING Simulator/Emulator 3 5 3 4 4 4 3 5 Real Mobile Devices 4 2 5 5 5 2 5 4 Remote Mobile Access 4 4 4 4 4 5 4 4 Crowd sourcing 2 3 2 1 1 3 4 4 Managed Testing Services 5 3 5 5 5 4 5 4 Guide: Least Effective 0 Most Effective 5 Comparative Evaluation Of Device Testing Options
  • 24. ©2015 InfoStretch Corporation. All rights reserved.   Create Real Life Conditions Manage CPU Usage Manage Memory Manage Network BandwidthCreate & Manage Interruptions Manage Location Of DeviceManage OrientationTurn WIFI On or Off                                                              
  • 25. ©2015 InfoStretch Corporation. All rights reserved.   Summary: How To Eat An Elephant One Bit At A Time §  Prioritize Business Needs & Analyze Test Cases §  Design An Automation Framework §  Select Right Automation Tool §  Automate All Functional Test Cases On Simulators §  Automate Device Centric & Critical Functional Test Cases On Real Devices §  Identify & Integrate Non-Mobile Elements Of Automation
  • 26. ©2015 InfoStretch Corporation. All rights reserved.   Continue The Dialogue… Email:  ashok.karania@infostretch.com   Linkedin:  ashokkarania   Blog:  blog.infostretch.com   Blog:  www.ashokkarania.com   Visit  ATOS  Booth  Today  &  Tomorrow!    
  • 27. ©2015 InfoStretch Corporation. All rights reserved.   CONNECT WITH US: Thank You Tel: 408.727.1100 Email: info@infostretch.com URL: www.infostretch.com