SlideShare a Scribd company logo
Appium
Reality check on the world’s leading Open
Source Framework for Mobile Testing
4th Meetup of Mobile Apps Dev&Test
May 26, 2015
Asaf Saar
asaf.saar@tenkod.com
www.tenkod.com
Agenda
1. Intro
2. Evolution of Mobile
3. Appium Overview
4. Why Appium?
5. Reality Check
About Me
§  Asaf	
  Saar,	
  CEO	
  &	
  CTO	
  of	
  TenKod	
  Ltd.	
  	
   	
  	
  
§  20	
  years	
  of	
  professional	
  experience	
  in	
  So>ware	
  Engineering	
  
§  Prior	
  to	
  TenKod,	
  8	
  years	
  at	
  SAP,	
  last	
  role	
  as	
  APO	
  of	
  SE	
  
§  Agile	
  So>ware	
  Engineering	
  	
  trainer,	
  coacher	
  and	
  mentor	
  
§  Married	
  to	
  Merav	
  and	
  father	
  of	
  three	
  
§  Astronomy	
  and	
  fast	
  cars	
  are	
  my	
  hobbies	
  
http://il.linkedin.com/in/asafsaar
asaf.saar@tenkod.com
The world goes mobile
TenKod enables organizations
to maximize profit by changing
the way mobile apps are being
delivered!
Appium - Reality check on the world’s leading Open Source Framework for Mobile Testing
Evolution of Mobile - Devices
§  1973	
  –	
  First	
  handheld	
  mobile	
  developed	
  
§  1984	
  –	
  Nokia	
  talkman	
  
§  1992	
  –	
  Motorola	
  InternaRonal	
  3200	
  
§  1994	
  –	
  IBM	
  Simon	
  Personal	
  Communicator	
  	
  
§  1996	
  –	
  Motorola	
  Startac	
  
§  1998	
  –	
  Nokia	
  5110	
  
§  1999	
  –	
  BlackBerry	
  850	
  	
  
§  2007	
  –	
  iPhone	
  
§  2008	
  –	
  Android	
  
Evolution of Mobile - OS
§  1973-­‐1993	
  –	
  Embedded	
  System	
  based	
  OS	
  
§  1996	
  –	
  Palm	
  Pilot,	
  Windows	
  CE	
  
§  2000	
  –	
  Symbian	
  
§  2002	
  –	
  BlackBerry	
  
§  2007	
  –	
  iOS,	
  Windows	
  Mobile	
  
§  2008	
  –	
  Android	
  
§  2009	
  –	
  webOS,	
  Bada,	
  Palm	
  OS	
  
§  2011	
  –	
  Tizen	
  
§  2012	
  –	
  Firefox	
  OS	
  
§  2013	
  –	
  Ubuntu	
  Touch	
  
World’s most
popular OS and
Smartphones till
2010…
Mobile Development Landscape
Development	
  Targets	
  
§  OS	
  Level	
  
§  NaRve	
  
§  Web	
  
§  Hybrid	
  
Development	
  Landscapes	
  
§  Single	
  developer	
  
§  Team	
  
§  Staging	
  
§  Cloud	
  
§  Hybrid	
  
Development	
  Frameworks	
  
§  Android	
  SDK	
  
§  iOS	
  ObjecRveC/Swi>	
  
§  Windows	
  Mobile	
  /	
  .NET	
  
§  PhoneGap	
  
§  Titanium	
  Appcelerator	
  
§  Xamarin	
  
§  Appery.io	
  
§  Angular	
  UI	
  
§  Sencha	
  Touch	
  
§  ………	
  
iOS Challenge
§  15	
  DisRnct	
  Devices	
  (coun&ng	
  from	
  iPhone	
  4S…)	
  
§  70%	
  of	
  users	
  adopt	
  latest	
  OS	
  within	
  6	
  months	
  
§  8	
  DisRnct	
  screen	
  dimensions	
  
§  18,796	
  DisRnct	
  Devices	
  (as	
  of	
  8/14…)	
  
§  5%	
  of	
  users	
  adopt	
  latest	
  OS	
  
§  150	
  DisRnct	
  screen	
  dimensions	
  
Android Challenge
Mobile is Mission Critical
Source: Perfecto Mobile, Achieving Continuous Quality eBook
§  Mobile	
  adopRon	
  is	
  growing	
  8	
  Rmes	
  faster	
  than	
  web	
  
§  60%	
  of	
  online	
  traffic	
  now	
  originates	
  from	
  mobile	
  devices	
  
§  73%	
  of	
  Millennials	
  are	
  transacRng	
  directly	
  from	
  mobile	
  
§  More	
  than	
  80%	
  of	
  mobile	
  Rme	
  is	
  spent	
  within	
  naRve	
  apps	
  
§  Windows	
  Phone	
  and	
  BlackBerry	
  devices	
  account	
  for	
  a	
  total	
  
of	
  7%	
  in	
  EU5	
  and	
  4%	
  in	
  the	
  U.S.	
  
Before we dive to Appium
This	
  session	
  is	
  all	
  about	
  reading	
  
between	
  the	
  lines	
  and	
  paying	
  
a>en&on	
  to	
  details…	
  
Appium
Appium	
  is	
  an	
  open	
  source	
  test	
  automaRon	
  
framework	
  for	
  use	
  with	
  naRve,	
  hybrid	
  and	
  
mobile	
  web	
  apps.	
  
http://appium.io/slate/en/master/?java#about-appium
Why Appium?
§  Mobile	
  Test	
  AutomaRon	
  for	
  iOS	
  and	
  Android	
  
§  Automate	
  NaRve,	
  Web	
  and	
  Hybrid	
  apps	
  
§  InstrumentaRon	
  free	
  
§  Uses	
  standard	
  automaRon	
  libraries	
  of	
  Android	
  and	
  iOS	
  
§  Support	
  for	
  any	
  WebDriver	
  compaRble	
  language	
  
§  Use	
  any	
  TesRng	
  Framework	
  
Appium GUI
Appium	
  provides	
  two	
  desktop	
  apps	
  for	
  server	
  configuraRon,	
  UI	
  
inspecRon	
  and	
  recording:	
  
§  Mac	
  OS	
  –	
  for	
  Android	
  and	
  iOS	
  
§  Windows	
  –	
  for	
  Android	
  
	
  
Appium Inspector
A	
  tool	
  part	
  of	
  the	
  Appium	
  GUI	
  
Let	
  you	
  inspect	
  your	
  app’s	
  UI	
  and	
  record	
  user	
  acRons	
  
Demo…
The good
§  Open	
  Source	
  tool	
  with	
  a	
  live	
  community	
  
§  No	
  InstrumentaRon
§  Server	
  is	
  fully	
  parameterized	
  	
  
§  Works	
  with	
  real	
  devices	
  as	
  well	
  as	
  simulators	
  and	
  emulators	
  
§  WebDriver	
  &	
  	
  Page	
  Objects	
  enable	
  cross	
  plaiorm	
  test	
  code	
  
§  Appium	
  GUI	
  provides	
  a	
  good	
  kick	
  start	
  to	
  newbies	
  
§  AutomaRc	
  code	
  generaRon	
  with	
  Inspector	
  
Appium @ the real world, #1
Cable	
   &	
   Wireless	
   Communica&ons	
   is	
   a	
   Bri&sh	
   mul&na&onal	
  
telecommunica&ons	
  company	
  headquartered	
  in	
  London,	
  United	
  
Kingdom	
  with	
  opera&ons	
  in	
  the	
  US	
  and	
  Pan-­‐America.	
  
Requirements:	
  
1.  Automate	
  LIME	
  mobile	
  app	
  –	
  iOS	
  &	
  Android	
  NaRve	
  apps	
  
2.  Conduct	
  scheduling	
  calling	
  from	
  iOS	
  &	
  Android	
  devices	
  
across	
  the	
  US	
  and	
  Central	
  America,	
  log	
  calls	
  in	
  excel	
  file	
  and	
  
later	
  compare	
  with	
  backend	
  system.	
  
Appium is a NO GO for iOS
Appium @ the real world, #2
LetMobile,	
   an	
   Israeli	
   startup	
   that	
   was	
   acquired	
   in	
   2014	
   by	
  
LANDESK	
   SoSware,	
   it	
   provides	
   Secure	
   Mobile	
   E-­‐Mail	
   enables	
  
employees	
  to	
  read	
  their	
  corporate	
  mail	
  from	
  any	
  mobile	
  device.	
  
Requirements:	
  
1.  Automate	
  LetMobile	
  app	
  on	
  iOS	
  &	
  Android:	
  
Launch	
  LetMobile	
  app,	
  login	
  to	
  server,	
  install	
  iOS	
  security	
  
profile	
  in	
  selngs	
  app,	
  switch	
  to	
  built-­‐in	
  iOS	
  Mail	
  app,	
  review	
  
mail	
  content,	
  switch	
  back	
  to	
  LetMobile	
  app,	
  login	
  to	
  server,	
  
switch	
  back	
  to	
  Mail	
  app	
  and	
  read	
  Mail	
  review	
  mail	
  content.	
  
Appium is a NO GO for iOS
The not so good – Setup
Setup	
  is	
  a	
  bit	
  tedious	
  
§  DocumentaRon	
  is	
  messy	
  and	
  not	
  up-­‐to	
  date	
  
§  A	
  lot	
  of	
  prerequisites	
  and	
  manual	
  steps:	
  
Java,	
  Android	
  SDK,	
  Maven	
  /	
  Ant,	
  Node.js,	
  Xcode,	
  Xcode,	
  
Command	
  Line	
  Tools	
  
§  Install	
  Brew/Homebrew,	
  NPM,	
  Appium	
  app,	
  Appium	
  Client	
  
§  iOS	
  Real	
  device	
  setup	
  is	
  a	
  big	
  headache	
  
The not so good – Usage
Not	
  really	
  prime	
  Rme	
  ready	
  
§  Android	
  and	
  IOS	
  only,	
  while	
  iOS	
  is	
  on	
  Mac	
  OS	
  only	
  
§  iOS	
  is	
  based	
  on	
  Xcode	
  Instruments…	
  
§  …	
  Hence	
  no	
  Parallel	
  iOS	
  test	
  execuRon	
  is	
  possible	
  
§  iOS	
  automaRon	
  of	
  AUT	
  only,	
  NO	
  context	
  switch	
  is	
  possible	
  
(put	
  app	
  in	
  background	
  is	
  NOT	
  stable)	
  
§  Android	
  keyboard	
  can	
  not	
  be	
  automated	
  (Send	
  Keys	
  only)	
  
§  Time	
  required	
  to	
  implement	
  robust	
  test	
  code	
  is	
  high
§  Development	
  (OOP)	
  knowledge	
  is	
  a	
  must	
  
The not so good – Appium GUI
Appium	
  GUI	
  is	
  	
  
§  Not	
  a	
  standalone	
  automaRon	
  tool	
  
§  Good	
  support	
  for	
  NaRve	
  apps	
  
§  Yet	
  No	
  support	
  for	
  Web	
  and	
  Hybrid	
  
§  No	
  Linux	
  version	
  
§  Generated	
  code	
  relies	
  heavily	
  on	
  absolute	
  Xpaths	
  
§  Can’t	
  automate	
  spinner	
  wheels,	
  noRficaRons,	
  toast	
  
messages	
  
§  And	
  it	
  is	
  VERY	
  buggy…	
  
Tips for getting things running
§  Internalize	
  that	
  Appium	
  is	
  a	
  framework	
  and	
  not	
  a	
  product	
  
§  Internalize	
  that	
  Open	
  Source	
  does	
  cost	
  money	
  
§  Pay	
  apenRon	
  to	
  details	
  before	
  diving	
  into	
  the	
  implementaRon	
  
§  Implement	
  a	
  project	
  build	
  tool,	
  e.g.	
  Maven	
  
§  Learn	
  WebDriver	
  API	
  and	
  Page	
  Objects	
  Design	
  Papern	
  
§  Use	
  Chrome	
  Developer	
  Tools,	
  Firebug,	
  etc.	
  for	
  hybrid	
  and	
  web	
  
§  Setup	
  parallel	
  tesRng	
  of	
  iOS	
  via	
  Mobile	
  Cloud	
  that	
  supports	
  it	
  
Thank you!
Copyright © 2015 TenKod Ltd. All rights reserved
Asaf Saar
asaf.saar@tenkod.com
www.tenkod.com
References	
  and	
  trademarks:	
  
1.  TenKod	
  name,	
  logo	
  and	
  icon	
  are	
  trademarks	
  of	
  A.O.E	
  TenKod	
  Ltd.	
  
2.  Amazon	
  AWS	
  name	
  and	
  logo	
  are	
  trademarks	
  of	
  Amazon	
  Web	
  Services,	
  Inc.	
  or	
  its	
  
affiliates.	
  
3.  Eclipse	
  name	
  and	
  logo	
  are	
  the	
  intellectual	
  property	
  of	
  the	
  Eclipse	
  FoundaRon.	
  
4.  Sonatype	
  and	
  Sonatype	
  Nexus	
  are	
  trademarks	
  of	
  Sonatype,	
  Inc.	
  
5.  Apache	
  Maven	
  and	
  Maven	
  are	
  trademarks	
  of	
  the	
  Apache	
  So>ware	
  FoundaRon.	
  
6.  M2Eclipse	
  is	
  a	
  trademark	
  of	
  the	
  Eclipse	
  FoundaRon.	
  
7.  Git	
  is	
  a	
  member	
  of	
  So>ware	
  Freedom	
  Conservancy	
  
8.  All	
  other	
  trademarks	
  are	
  the	
  property	
  of	
  their	
  respecRve	
  owners.	
  

More Related Content

What's hot (20)

PDF
Advanced Appium Tips & Tricks with Jonathan Lipps
Perfecto by Perforce
 
PDF
Mobile Test Automation - Appium
Maria Machlowska
 
PPTX
Getting Started with Mobile Test Automation & Appium
Sauce Labs
 
PDF
10 things you didnt know about appium + whats new in appium 1.5
Sauce Labs
 
PPTX
Everything You Need To Know about Appium and Selenium
Lizzy Guido (she/her)
 
PPTX
Mobile Automation Using Appium - vodQA Bangalore 2015
Thoughtworks
 
PPTX
Live Panel: Appium Core Committers Answer Your Questions
Sauce Labs
 
PPTX
Wheat - Mobile functional test automation
Sunny Tambi
 
PDF
Beyond Appium: Testing with Espresso & the Real Device Cloud
Sauce Labs
 
PPT
Appium tutorial| Appium Training
QA Masters
 
PPTX
Appium ppt
natashasweety7
 
PPTX
Appium overview (Selenium Israel #2, Feb. 2014)
danielputerman
 
PDF
Appium Mobile Test Automation like WebDriver
Andrii Dzynia
 
PPTX
Parallel testing with appium
moizjv
 
PDF
Mobile automation – should I use robotium or calabash or appium?
Zado Technologies
 
PDF
[Srijan Wednesday Webinars] Building a High Performance QA Team
Srijan Technologies
 
PPTX
Appium solution
Nael Abd Eljawad
 
PPTX
Selenium Camp 2016
Dan Cuellar
 
PPTX
Testing Your Android and iOS Apps with Appium in Testdroid Cloud
Bitbar
 
PDF
Introduction To Mobile-Automation
Mindfire Solutions
 
Advanced Appium Tips & Tricks with Jonathan Lipps
Perfecto by Perforce
 
Mobile Test Automation - Appium
Maria Machlowska
 
Getting Started with Mobile Test Automation & Appium
Sauce Labs
 
10 things you didnt know about appium + whats new in appium 1.5
Sauce Labs
 
Everything You Need To Know about Appium and Selenium
Lizzy Guido (she/her)
 
Mobile Automation Using Appium - vodQA Bangalore 2015
Thoughtworks
 
Live Panel: Appium Core Committers Answer Your Questions
Sauce Labs
 
Wheat - Mobile functional test automation
Sunny Tambi
 
Beyond Appium: Testing with Espresso & the Real Device Cloud
Sauce Labs
 
Appium tutorial| Appium Training
QA Masters
 
Appium ppt
natashasweety7
 
Appium overview (Selenium Israel #2, Feb. 2014)
danielputerman
 
Appium Mobile Test Automation like WebDriver
Andrii Dzynia
 
Parallel testing with appium
moizjv
 
Mobile automation – should I use robotium or calabash or appium?
Zado Technologies
 
[Srijan Wednesday Webinars] Building a High Performance QA Team
Srijan Technologies
 
Appium solution
Nael Abd Eljawad
 
Selenium Camp 2016
Dan Cuellar
 
Testing Your Android and iOS Apps with Appium in Testdroid Cloud
Bitbar
 
Introduction To Mobile-Automation
Mindfire Solutions
 

Similar to Appium - Reality check on the world’s leading Open Source Framework for Mobile Testing (20)

PDF
Mobile Apps Delivery - Evolution and Tools
Asaf Saar
 
PPTX
Mobile application development platform
i4consulting.org
 
PPTX
Native - Hybrid - Web Mobile Architectures
Phong Le Duy
 
PPTX
Cross platform mobile apps using rhomobile and jquery mobile
SPRITLE SOFTWARE PRIVATE LIMIT ED
 
PPTX
Mobile Enablement And Intelligence
Rashmika Nawaratne
 
PPTX
Demystifying the Mobile Container - PART I
Relayware
 
PPTX
Mobile Application Development Unit 1.pptx
DheekshithaPasala
 
PDF
Using Selenium To Test Mobile? Meet Appium!
Sauce Labs
 
PDF
Xamarin Platform
Rui Marinho
 
PDF
Mobile app vs web app
SatawareTechnologies
 
PDF
Do You Need a Web App or a Native App?
iFactory Digital
 
PPT
DroidCon 2011: Developing HTML5 and hybrid Android apps using Phonegap
Ayushman Jain
 
PPT
Hybrid app development
Harshul Shah
 
PDF
Muhammad Hamdy_MSSWE
Muhammad Hamdy
 
PPTX
Hybrid mobile app
Palani Kumar
 
PPTX
Hybrid Mobile App
Palani Kumar
 
PDF
Launch High Performing Mobile Apps with Appurify
Manish Lachwani
 
PPTX
Mobile UI Testing using Appium and Docker
Moataz Nabil
 
DOC
Saurabh_Gupta_Resume(iOS)
saurabh gupta
 
PDF
Building Mobile Apps with Cordova , AngularJS and Ionic
Kadhem Soltani
 
Mobile Apps Delivery - Evolution and Tools
Asaf Saar
 
Mobile application development platform
i4consulting.org
 
Native - Hybrid - Web Mobile Architectures
Phong Le Duy
 
Cross platform mobile apps using rhomobile and jquery mobile
SPRITLE SOFTWARE PRIVATE LIMIT ED
 
Mobile Enablement And Intelligence
Rashmika Nawaratne
 
Demystifying the Mobile Container - PART I
Relayware
 
Mobile Application Development Unit 1.pptx
DheekshithaPasala
 
Using Selenium To Test Mobile? Meet Appium!
Sauce Labs
 
Xamarin Platform
Rui Marinho
 
Mobile app vs web app
SatawareTechnologies
 
Do You Need a Web App or a Native App?
iFactory Digital
 
DroidCon 2011: Developing HTML5 and hybrid Android apps using Phonegap
Ayushman Jain
 
Hybrid app development
Harshul Shah
 
Muhammad Hamdy_MSSWE
Muhammad Hamdy
 
Hybrid mobile app
Palani Kumar
 
Hybrid Mobile App
Palani Kumar
 
Launch High Performing Mobile Apps with Appurify
Manish Lachwani
 
Mobile UI Testing using Appium and Docker
Moataz Nabil
 
Saurabh_Gupta_Resume(iOS)
saurabh gupta
 
Building Mobile Apps with Cordova , AngularJS and Ionic
Kadhem Soltani
 
Ad

Recently uploaded (20)

PDF
The 5 Reasons for IT Maintenance - Arna Softech
Arna Softech
 
PDF
Adobe Premiere Pro Crack / Full Version / Free Download
hashhshs786
 
PPTX
ChiSquare Procedure in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PDF
IObit Driver Booster Pro 12.4.0.585 Crack Free Download
henryc1122g
 
PDF
AOMEI Partition Assistant Crack 10.8.2 + WinPE Free Downlaod New Version 2025
bashirkhan333g
 
PDF
Odoo CRM vs Zoho CRM: Honest Comparison 2025
Odiware Technologies Private Limited
 
PPTX
OpenChain @ OSS NA - In From the Cold: Open Source as Part of Mainstream Soft...
Shane Coughlan
 
PDF
NEW-Viral>Wondershare Filmora 14.5.18.12900 Crack Free
sherryg1122g
 
PPTX
Agentic Automation: Build & Deploy Your First UiPath Agent
klpathrudu
 
PPTX
Help for Correlations in IBM SPSS Statistics.pptx
Version 1 Analytics
 
PDF
MiniTool Power Data Recovery 8.8 With Crack New Latest 2025
bashirkhan333g
 
PDF
Driver Easy Pro 6.1.1 Crack Licensce key 2025 FREE
utfefguu
 
PDF
Generic or Specific? Making sensible software design decisions
Bert Jan Schrijver
 
PDF
IDM Crack with Internet Download Manager 6.42 Build 43 with Patch Latest 2025
bashirkhan333g
 
PPTX
Agentic Automation Journey Session 1/5: Context Grounding and Autopilot for E...
klpathrudu
 
PDF
Download Canva Pro 2025 PC Crack Full Latest Version
bashirkhan333g
 
PDF
MiniTool Partition Wizard 12.8 Crack License Key LATEST
hashhshs786
 
PDF
Wondershare PDFelement Pro Crack for MacOS New Version Latest 2025
bashirkhan333g
 
PPTX
Agentic Automation Journey Series Day 2 – Prompt Engineering for UiPath Agents
klpathrudu
 
PDF
4K Video Downloader Plus Pro Crack for MacOS New Download 2025
bashirkhan333g
 
The 5 Reasons for IT Maintenance - Arna Softech
Arna Softech
 
Adobe Premiere Pro Crack / Full Version / Free Download
hashhshs786
 
ChiSquare Procedure in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
IObit Driver Booster Pro 12.4.0.585 Crack Free Download
henryc1122g
 
AOMEI Partition Assistant Crack 10.8.2 + WinPE Free Downlaod New Version 2025
bashirkhan333g
 
Odoo CRM vs Zoho CRM: Honest Comparison 2025
Odiware Technologies Private Limited
 
OpenChain @ OSS NA - In From the Cold: Open Source as Part of Mainstream Soft...
Shane Coughlan
 
NEW-Viral>Wondershare Filmora 14.5.18.12900 Crack Free
sherryg1122g
 
Agentic Automation: Build & Deploy Your First UiPath Agent
klpathrudu
 
Help for Correlations in IBM SPSS Statistics.pptx
Version 1 Analytics
 
MiniTool Power Data Recovery 8.8 With Crack New Latest 2025
bashirkhan333g
 
Driver Easy Pro 6.1.1 Crack Licensce key 2025 FREE
utfefguu
 
Generic or Specific? Making sensible software design decisions
Bert Jan Schrijver
 
IDM Crack with Internet Download Manager 6.42 Build 43 with Patch Latest 2025
bashirkhan333g
 
Agentic Automation Journey Session 1/5: Context Grounding and Autopilot for E...
klpathrudu
 
Download Canva Pro 2025 PC Crack Full Latest Version
bashirkhan333g
 
MiniTool Partition Wizard 12.8 Crack License Key LATEST
hashhshs786
 
Wondershare PDFelement Pro Crack for MacOS New Version Latest 2025
bashirkhan333g
 
Agentic Automation Journey Series Day 2 – Prompt Engineering for UiPath Agents
klpathrudu
 
4K Video Downloader Plus Pro Crack for MacOS New Download 2025
bashirkhan333g
 
Ad

Appium - Reality check on the world’s leading Open Source Framework for Mobile Testing

  • 1. Appium Reality check on the world’s leading Open Source Framework for Mobile Testing 4th Meetup of Mobile Apps Dev&Test May 26, 2015 Asaf Saar [email protected] www.tenkod.com
  • 2. Agenda 1. Intro 2. Evolution of Mobile 3. Appium Overview 4. Why Appium? 5. Reality Check
  • 3. About Me §  Asaf  Saar,  CEO  &  CTO  of  TenKod  Ltd.         §  20  years  of  professional  experience  in  So>ware  Engineering   §  Prior  to  TenKod,  8  years  at  SAP,  last  role  as  APO  of  SE   §  Agile  So>ware  Engineering    trainer,  coacher  and  mentor   §  Married  to  Merav  and  father  of  three   §  Astronomy  and  fast  cars  are  my  hobbies   http://il.linkedin.com/in/asafsaar [email protected]
  • 4. The world goes mobile TenKod enables organizations to maximize profit by changing the way mobile apps are being delivered!
  • 6. Evolution of Mobile - Devices §  1973  –  First  handheld  mobile  developed   §  1984  –  Nokia  talkman   §  1992  –  Motorola  InternaRonal  3200   §  1994  –  IBM  Simon  Personal  Communicator     §  1996  –  Motorola  Startac   §  1998  –  Nokia  5110   §  1999  –  BlackBerry  850     §  2007  –  iPhone   §  2008  –  Android  
  • 7. Evolution of Mobile - OS §  1973-­‐1993  –  Embedded  System  based  OS   §  1996  –  Palm  Pilot,  Windows  CE   §  2000  –  Symbian   §  2002  –  BlackBerry   §  2007  –  iOS,  Windows  Mobile   §  2008  –  Android   §  2009  –  webOS,  Bada,  Palm  OS   §  2011  –  Tizen   §  2012  –  Firefox  OS   §  2013  –  Ubuntu  Touch   World’s most popular OS and Smartphones till 2010…
  • 8. Mobile Development Landscape Development  Targets   §  OS  Level   §  NaRve   §  Web   §  Hybrid   Development  Landscapes   §  Single  developer   §  Team   §  Staging   §  Cloud   §  Hybrid   Development  Frameworks   §  Android  SDK   §  iOS  ObjecRveC/Swi>   §  Windows  Mobile  /  .NET   §  PhoneGap   §  Titanium  Appcelerator   §  Xamarin   §  Appery.io   §  Angular  UI   §  Sencha  Touch   §  ………  
  • 9. iOS Challenge §  15  DisRnct  Devices  (coun&ng  from  iPhone  4S…)   §  70%  of  users  adopt  latest  OS  within  6  months   §  8  DisRnct  screen  dimensions  
  • 10. §  18,796  DisRnct  Devices  (as  of  8/14…)   §  5%  of  users  adopt  latest  OS   §  150  DisRnct  screen  dimensions   Android Challenge
  • 11. Mobile is Mission Critical Source: Perfecto Mobile, Achieving Continuous Quality eBook §  Mobile  adopRon  is  growing  8  Rmes  faster  than  web   §  60%  of  online  traffic  now  originates  from  mobile  devices   §  73%  of  Millennials  are  transacRng  directly  from  mobile   §  More  than  80%  of  mobile  Rme  is  spent  within  naRve  apps   §  Windows  Phone  and  BlackBerry  devices  account  for  a  total   of  7%  in  EU5  and  4%  in  the  U.S.  
  • 12. Before we dive to Appium This  session  is  all  about  reading   between  the  lines  and  paying   a>en&on  to  details…  
  • 13. Appium Appium  is  an  open  source  test  automaRon   framework  for  use  with  naRve,  hybrid  and   mobile  web  apps.   http://appium.io/slate/en/master/?java#about-appium
  • 14. Why Appium? §  Mobile  Test  AutomaRon  for  iOS  and  Android   §  Automate  NaRve,  Web  and  Hybrid  apps   §  InstrumentaRon  free   §  Uses  standard  automaRon  libraries  of  Android  and  iOS   §  Support  for  any  WebDriver  compaRble  language   §  Use  any  TesRng  Framework  
  • 15. Appium GUI Appium  provides  two  desktop  apps  for  server  configuraRon,  UI   inspecRon  and  recording:   §  Mac  OS  –  for  Android  and  iOS   §  Windows  –  for  Android    
  • 16. Appium Inspector A  tool  part  of  the  Appium  GUI   Let  you  inspect  your  app’s  UI  and  record  user  acRons  
  • 18. The good §  Open  Source  tool  with  a  live  community   §  No  InstrumentaRon §  Server  is  fully  parameterized     §  Works  with  real  devices  as  well  as  simulators  and  emulators   §  WebDriver  &    Page  Objects  enable  cross  plaiorm  test  code   §  Appium  GUI  provides  a  good  kick  start  to  newbies   §  AutomaRc  code  generaRon  with  Inspector  
  • 19. Appium @ the real world, #1 Cable   &   Wireless   Communica&ons   is   a   Bri&sh   mul&na&onal   telecommunica&ons  company  headquartered  in  London,  United   Kingdom  with  opera&ons  in  the  US  and  Pan-­‐America.   Requirements:   1.  Automate  LIME  mobile  app  –  iOS  &  Android  NaRve  apps   2.  Conduct  scheduling  calling  from  iOS  &  Android  devices   across  the  US  and  Central  America,  log  calls  in  excel  file  and   later  compare  with  backend  system.   Appium is a NO GO for iOS
  • 20. Appium @ the real world, #2 LetMobile,   an   Israeli   startup   that   was   acquired   in   2014   by   LANDESK   SoSware,   it   provides   Secure   Mobile   E-­‐Mail   enables   employees  to  read  their  corporate  mail  from  any  mobile  device.   Requirements:   1.  Automate  LetMobile  app  on  iOS  &  Android:   Launch  LetMobile  app,  login  to  server,  install  iOS  security   profile  in  selngs  app,  switch  to  built-­‐in  iOS  Mail  app,  review   mail  content,  switch  back  to  LetMobile  app,  login  to  server,   switch  back  to  Mail  app  and  read  Mail  review  mail  content.   Appium is a NO GO for iOS
  • 21. The not so good – Setup Setup  is  a  bit  tedious   §  DocumentaRon  is  messy  and  not  up-­‐to  date   §  A  lot  of  prerequisites  and  manual  steps:   Java,  Android  SDK,  Maven  /  Ant,  Node.js,  Xcode,  Xcode,   Command  Line  Tools   §  Install  Brew/Homebrew,  NPM,  Appium  app,  Appium  Client   §  iOS  Real  device  setup  is  a  big  headache  
  • 22. The not so good – Usage Not  really  prime  Rme  ready   §  Android  and  IOS  only,  while  iOS  is  on  Mac  OS  only   §  iOS  is  based  on  Xcode  Instruments…   §  …  Hence  no  Parallel  iOS  test  execuRon  is  possible   §  iOS  automaRon  of  AUT  only,  NO  context  switch  is  possible   (put  app  in  background  is  NOT  stable)   §  Android  keyboard  can  not  be  automated  (Send  Keys  only)   §  Time  required  to  implement  robust  test  code  is  high §  Development  (OOP)  knowledge  is  a  must  
  • 23. The not so good – Appium GUI Appium  GUI  is     §  Not  a  standalone  automaRon  tool   §  Good  support  for  NaRve  apps   §  Yet  No  support  for  Web  and  Hybrid   §  No  Linux  version   §  Generated  code  relies  heavily  on  absolute  Xpaths   §  Can’t  automate  spinner  wheels,  noRficaRons,  toast   messages   §  And  it  is  VERY  buggy…  
  • 24. Tips for getting things running §  Internalize  that  Appium  is  a  framework  and  not  a  product   §  Internalize  that  Open  Source  does  cost  money   §  Pay  apenRon  to  details  before  diving  into  the  implementaRon   §  Implement  a  project  build  tool,  e.g.  Maven   §  Learn  WebDriver  API  and  Page  Objects  Design  Papern   §  Use  Chrome  Developer  Tools,  Firebug,  etc.  for  hybrid  and  web   §  Setup  parallel  tesRng  of  iOS  via  Mobile  Cloud  that  supports  it  
  • 25. Thank you! Copyright © 2015 TenKod Ltd. All rights reserved Asaf Saar [email protected] www.tenkod.com
  • 26. References  and  trademarks:   1.  TenKod  name,  logo  and  icon  are  trademarks  of  A.O.E  TenKod  Ltd.   2.  Amazon  AWS  name  and  logo  are  trademarks  of  Amazon  Web  Services,  Inc.  or  its   affiliates.   3.  Eclipse  name  and  logo  are  the  intellectual  property  of  the  Eclipse  FoundaRon.   4.  Sonatype  and  Sonatype  Nexus  are  trademarks  of  Sonatype,  Inc.   5.  Apache  Maven  and  Maven  are  trademarks  of  the  Apache  So>ware  FoundaRon.   6.  M2Eclipse  is  a  trademark  of  the  Eclipse  FoundaRon.   7.  Git  is  a  member  of  So>ware  Freedom  Conservancy   8.  All  other  trademarks  are  the  property  of  their  respecRve  owners.