SlideShare a Scribd company logo
Cross Platform Mobile UI Automation Testing
Presenter: Anjum Shrimali
Cross platform mobile UI automation testing
We will cover…
Need of UI automation in testing
Understanding Appium and automation frameworks
Explore Appium-UIAutomation python lib
Hands on
Road map
1
Software testing is to qualify,
Objectives of software testing
2
• Consistency and integrity
• Robustness and stability
• Ease of use from real user perspective
Manual testing Pros/Cons
3
- Ability to see real user
issues
- Lot more flexibility
- Can make system more
robust by creative
destructive thinking
- Slow and costly
- Don’t scale well
- Not consistent or
repeatable
- Lack of training
- Difficult to manage
- Tedious for regression
of large projects
Pros
Cons
Automated testing driven by a manual tester
What makes sense?
4
• Repetitive and tedious for manual tester
Consistency and integrity
• Need fresh mind and time to find creative ideas to break system
Robustness and stability
• Need involvement and analysis from real user’s perspective
Ease of use from real user perspective
Mobile UIAutomation frameworks
5
iOS
• UIAutomator
• XCUITest
Android
• Instrumentation
• Robotium/Calabash
• Expresso/V2
• Selendroid
• UIAutomator/V2
6
• Supports many frameworks
and platforms
• Open source
• Active community
• Accepts common commands
and translates them for
individual platform
One stop solution
Involves client, Selenium web driver, mobile platforms
How Appium works?
7
Appium Components
8
Client
API calls can be
made from many
languages
Selenium Web driver
Is an API which
directly
communicates
with platform’s
native automation
frameworks
Mobile automation
frameworks
They understand
commands sent by
selenium web
driver and return
results back
Most recent automation frameworks
9
• XCUITest for iOS and UIAutomator V2 for android
• XCUITest supports iOS 10 / XCode 8
• UIAutomator V2 supports most recent android versions
• Both supported by Appium 1.6
Basics of UIAutomation
10
Find something
Do something
Check something
Appium-UIAutomation lib
11
• Client lib made in python
• Common “Find something” for both iOS / Android
• Uses Appium-Python-Client and Selenium 3.0
• Best guess the widget and find it through XPath
• Easy as you find what you see
How it guesses?
12
<XCUIElementTypeTextField Text field <android.widget.EditText…
Type of component
Hint | Value | Label |
Name Text field Text
By name
3rd element in result Text field 3rd element in result
At index
What else?
13
• Uses python unittest framework for test suite
• Processes common find commands
• Processes common perform commands on Appium
• Helper script to generate initial test case
• Asks for platform and app bundle path to execute
14
Start using it :)
15
• Open source at https://github.com/ayshrimali/Appium-
UIAutomation
• Contributors are welcome
• Post issues, suggest improvements
16
“Automation does not do what testers used to do, unless one
ignores most things a tester really does. Automated testing is
useful for extending the reach of the testers work, not to
replace it.”
–James Bach
(Ex - Testing manager @Apple)
17
Thank you

More Related Content

PPTX
Choosing the Best Open Source Test Automation Tool for You
PDF
Testing Native Apps at PAYBACK
PDF
Inside Android Testing
PDF
Android Testing: An Overview
PPT
UI Interactions Testing with FlexMonkey
PPTX
Selenium training basics
PPTX
Android testing
PPT
BCS Selenium Workshop
Choosing the Best Open Source Test Automation Tool for You
Testing Native Apps at PAYBACK
Inside Android Testing
Android Testing: An Overview
UI Interactions Testing with FlexMonkey
Selenium training basics
Android testing
BCS Selenium Workshop

What's hot (20)

PDF
Testing iOS applications
PPTX
Automation With Appium
PPT
Test Automation On Android Platform Using Robotium
PDF
Appium@Work at PAYBACK
ODP
Automated Tests for Android apps
PPT
Using Selenium to Test Native Apps (Wait, you can do that?)
PDF
Introduction to UI Automation Framework
PDF
Mobile Test Automation - Appium
PDF
Best Mobile App Testing Tools
PDF
Android Automation Using Robotium
PDF
[Binh nguyen] Mobile Application Automation Testing iOS and Android
PPT
Eclipse UI automation
PDF
Advance appium workshop.pptx
PDF
Robot framework - SAST Väst Q3
PPTX
Appium overview (Selenium Israel #2, Feb. 2014)
PDF
Appium: Automation for Mobile Apps
PDF
Android unittesting
PDF
Automated UI Testing Frameworks
PPTX
Appium ppt
Testing iOS applications
Automation With Appium
Test Automation On Android Platform Using Robotium
Appium@Work at PAYBACK
Automated Tests for Android apps
Using Selenium to Test Native Apps (Wait, you can do that?)
Introduction to UI Automation Framework
Mobile Test Automation - Appium
Best Mobile App Testing Tools
Android Automation Using Robotium
[Binh nguyen] Mobile Application Automation Testing iOS and Android
Eclipse UI automation
Advance appium workshop.pptx
Robot framework - SAST Väst Q3
Appium overview (Selenium Israel #2, Feb. 2014)
Appium: Automation for Mobile Apps
Android unittesting
Automated UI Testing Frameworks
Appium ppt
Ad

Similar to Cross platform mobile UI automation testing (20)

PPTX
Advanced Appium: SeleniumConf UK 2016
PPTX
Mobile Automation Meetup Presentation [English]
PPTX
Challenges of automated mobile UI testing
PPTX
Tales from the Dark Side: Ori Bendet Selenium Conference India 2016
PPTX
Automation Testing With Appium
PPTX
Appium.pptx
PDF
[Srijan Wednesday Webinar] Mastering Mobile Test Automation with Appium
PPTX
Appium - test automation for mobile apps
PDF
A Comprehensive Guide to Cross-Platform Mobile Test Automation Using Appium.pdf
PPTX
Solving the Automation Puzzle - how to select the right automation framework ...
PPTX
XCUITest for iOS App Testing and how to test with Xcode
PPTX
Advanced Appium
PPTX
ATAGTR2017 Appium
PPTX
Appium Overview - by Daniel Puterman
PPTX
Mobile Application Testing
PPTX
Mobile Application Testing
PDF
Maria Machlowska i Elżbieta Sądel - "Appium: automatyzacja testów w Mobile"
PDF
The UI Testing of a Automation Frameworks
PPTX
The Power of Polymorphism by Craig Schwarzwald
Advanced Appium: SeleniumConf UK 2016
Mobile Automation Meetup Presentation [English]
Challenges of automated mobile UI testing
Tales from the Dark Side: Ori Bendet Selenium Conference India 2016
Automation Testing With Appium
Appium.pptx
[Srijan Wednesday Webinar] Mastering Mobile Test Automation with Appium
Appium - test automation for mobile apps
A Comprehensive Guide to Cross-Platform Mobile Test Automation Using Appium.pdf
Solving the Automation Puzzle - how to select the right automation framework ...
XCUITest for iOS App Testing and how to test with Xcode
Advanced Appium
ATAGTR2017 Appium
Appium Overview - by Daniel Puterman
Mobile Application Testing
Mobile Application Testing
Maria Machlowska i Elżbieta Sądel - "Appium: automatyzacja testów w Mobile"
The UI Testing of a Automation Frameworks
The Power of Polymorphism by Craig Schwarzwald
Ad

Recently uploaded (20)

PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
medical staffing services at VALiNTRY
PPTX
L1 - Introduction to python Backend.pptx
PDF
Nekopoi APK 2025 free lastest update
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PDF
System and Network Administration Chapter 2
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PDF
Digital Strategies for Manufacturing Companies
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PPTX
Reimagine Home Health with the Power of Agentic AI​
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PPTX
Essential Infomation Tech presentation.pptx
PPTX
Transform Your Business with a Software ERP System
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
Design an Analysis of Algorithms I-SECS-1021-03
Odoo Companies in India – Driving Business Transformation.pdf
medical staffing services at VALiNTRY
L1 - Introduction to python Backend.pptx
Nekopoi APK 2025 free lastest update
How to Migrate SBCGlobal Email to Yahoo Easily
System and Network Administration Chapter 2
Upgrade and Innovation Strategies for SAP ERP Customers
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
How to Choose the Right IT Partner for Your Business in Malaysia
Digital Strategies for Manufacturing Companies
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
Reimagine Home Health with the Power of Agentic AI​
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Essential Infomation Tech presentation.pptx
Transform Your Business with a Software ERP System
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
CHAPTER 2 - PM Management and IT Context
wealthsignaloriginal-com-DS-text-... (1).pdf

Cross platform mobile UI automation testing

  • 1. Cross Platform Mobile UI Automation Testing Presenter: Anjum Shrimali
  • 3. We will cover… Need of UI automation in testing Understanding Appium and automation frameworks Explore Appium-UIAutomation python lib Hands on Road map 1
  • 4. Software testing is to qualify, Objectives of software testing 2 • Consistency and integrity • Robustness and stability • Ease of use from real user perspective
  • 5. Manual testing Pros/Cons 3 - Ability to see real user issues - Lot more flexibility - Can make system more robust by creative destructive thinking - Slow and costly - Don’t scale well - Not consistent or repeatable - Lack of training - Difficult to manage - Tedious for regression of large projects Pros Cons
  • 6. Automated testing driven by a manual tester What makes sense? 4 • Repetitive and tedious for manual tester Consistency and integrity • Need fresh mind and time to find creative ideas to break system Robustness and stability • Need involvement and analysis from real user’s perspective Ease of use from real user perspective
  • 7. Mobile UIAutomation frameworks 5 iOS • UIAutomator • XCUITest Android • Instrumentation • Robotium/Calabash • Expresso/V2 • Selendroid • UIAutomator/V2
  • 8. 6 • Supports many frameworks and platforms • Open source • Active community • Accepts common commands and translates them for individual platform One stop solution
  • 9. Involves client, Selenium web driver, mobile platforms How Appium works? 7
  • 10. Appium Components 8 Client API calls can be made from many languages Selenium Web driver Is an API which directly communicates with platform’s native automation frameworks Mobile automation frameworks They understand commands sent by selenium web driver and return results back
  • 11. Most recent automation frameworks 9 • XCUITest for iOS and UIAutomator V2 for android • XCUITest supports iOS 10 / XCode 8 • UIAutomator V2 supports most recent android versions • Both supported by Appium 1.6
  • 12. Basics of UIAutomation 10 Find something Do something Check something
  • 13. Appium-UIAutomation lib 11 • Client lib made in python • Common “Find something” for both iOS / Android • Uses Appium-Python-Client and Selenium 3.0 • Best guess the widget and find it through XPath • Easy as you find what you see
  • 14. How it guesses? 12 <XCUIElementTypeTextField Text field <android.widget.EditText… Type of component Hint | Value | Label | Name Text field Text By name 3rd element in result Text field 3rd element in result At index
  • 15. What else? 13 • Uses python unittest framework for test suite • Processes common find commands • Processes common perform commands on Appium • Helper script to generate initial test case • Asks for platform and app bundle path to execute
  • 16. 14
  • 17. Start using it :) 15 • Open source at https://github.com/ayshrimali/Appium- UIAutomation • Contributors are welcome • Post issues, suggest improvements
  • 18. 16 “Automation does not do what testers used to do, unless one ignores most things a tester really does. Automated testing is useful for extending the reach of the testers work, not to replace it.” –James Bach (Ex - Testing manager @Apple)