SlideShare a Scribd company logo
1 of 36
Your Topic www.company.com
Appium
Mobile Automation Testing Made Awesome
Miss. Tuyet Ngo
Senior Quality Assurance
Your Topic www.company.com
INTRODUCTION
ABOUT MYSELF
Now… Let’s talk about
1
Your Topic www.company.com
AGENDA
Introduction1
What is Appium?2
How does Appium work?3
Compare Appium versus other testing mobile tools4
Testing web and app on local and cloud5
Tips to work in automation testing on mobile6
2
Your Topic www.company.com
Introduction
Audience
Tester
SO
Dev
BA
3
Vu: What is SO? Solution? I noted SO:
mobile testing
Your Topic www.company.com
Introduction
• How does Appium work? • Can make a mobile
testing on local and cloud
• Basic knowledge to go further
• What is Appium? • Appium’s highlight
4
Your Topic www.company.com
Introduction about Mobile Phone
5
Your Topic www.company.com
Number of available apps in the Apple App Store
in 2008-2017
Source: TechCrunch, Statista 2017
6
Your Topic www.company.com
Number of mobile app downloads worldwide in
2016, 2017 and 2021
Source: TechCrunch, Statista 2017
7
Your Topic www.company.com
Frank
Appium
Robotium
Ranorex
Espresso
MonkeyRunner
TestComplete Testdroid
Calabash
eggPlant
UIAutomator
Selendroid
SeeTest
Telerik
8
Your Topic www.company.com
Appium?
9
Your Topic www.company.com
What is Appium?
•Open-source tool
•Test native, hybrid application and mobile web on
both iOS and Android platform
•Support many program languages
•Cross-platform
Your Topic www.company.com
Native app
• applications
developed
specifically for a
mobile OS
• fastest, most
reliable and
responsive
experience
• cost more, and
take longer to build
Hybrid app
• websites packaged
into a native
wrapper
• save time, money,
easier to scale
• performance,
experience to user
Web app
• accessed via a
web browser over
a network
• doesn’t take
memory, storage,
simple
• can’t work offline,
lack of experience
to users
Web App, Native and Hybrid App
11
Your Topic www.company.com
Appium’s Highlight
Instrumentation
UIAutomator
UIAutomation
XCUITest
Cross-platform WinAppDriver
12
Your Topic www.company.com
Appium
Concepts
Client
Desired
Capability
Server
Session
Your Topic www.company.com
Desired Capability
{
"platformName": "iOS",
"platformVersion": "11.0",
"deviceName": "iPhone 7",
"automationName": "XCUITest",
"app": "/path/to/my.app"
}
Client Server
Hey server,
create a session with desired capabilities
Ok dude, keep this session ID
Reference: Appium Desired Capabilities 13
Your Topic www.company.com
Appium Architecture
14
Your Topic www.company.com
Your Topic www.company.com
Your Topic www.company.com
Appium versus other tools
15
Your Topic www.company.com
Installation and Configuration
•Environment
•Xcode
•Android SDK
•JDK
•Appium server
•Client Libraries
16
Your Topic www.company.com
Installation and Configuration For iOS device
1. Mac OS X 10.7 (minimum version required)
2. Enroll for iOS Developer program with valid Apple id account.
3. Download and Install Xcode updated version (prefer)
4. Create a provisioning profile for the launcher
5. Find UDID of iOS device
6. Turn on Web Inspector on IOS Device
7. Install brew
8. Install ios_webkit_debug_proxy
17
Your Topic www.company.com
Installation and Configuration for Android
1. Android SDK (install suitable packages)
2. Enable USB debugging option
3. Check the Google USB Driver box, and click the Install button
4. Create a provisioning profile for the launcher
5. Find UDID of iOS device
6. Turn on Web Inspector on IOS Device
7. Install brew
8. Install ios_webkit_debug_proxy
18
Your Topic www.company.com
Don’t talk any more.
Proof it!
19
Your Topic www.company.com
OK! But keep clam
to see scenario first
20
Your Topic www.company.com
Web
• Open google web
• Search “B4U Conference”
• Verify searching result
App
• Open app
• Go to a function
• Do some actions
• Verify the result
Scenarios
21
Your Topic www.company.com
Configuration
22
Your Topic www.company.com
ACTION!
NOW
23
Your Topic www.company.com
TIPS
24
Your Topic www.company.com
Your Topic www.company.com
Identify Element on Mobile Apps
1. Tools
• UIAutomator Viewer
• Appium inspector
• Chrome-devtools
2. Api
• getPageSource()
25
Your Topic www.company.com
Identify Element on Mobile Apps (Cont.)
1. By ID (resource-id)
2. By name (text)
3. By className (class)
4. By AccessibilityId (content-desc)
5. By AndroidUIAutomator
6. By Xpath
26
Your Topic www.company.com
Identify Element on Mobile Apps (Cont.)
27
Your Topic www.company.com
Swipe Horizontal on Mobile
• size = driver.manage().window().getSize()
• int startx = (int) (size.width * 0.70)
• int endx = (int) (size.width * 0.30)
• int starty = (int) size.height / 2
• driver.swipe(startx, starty, endx, starty, 3000)
• driver.swipe(endx, starty, startx, starty, 3000)
Get size
Start point
End point
Swipe
Vertical point
28
Your Topic www.company.com
Swipe Vertical on Mobile
• size = driver.manage().window().getSize()
•
• int startx = size.width / 2
Get size
Start point
End point
Swipe
Vertical point
int starty = (int) (size.height * 0.80)
• int endy = (int) (size.height * 0.20)
• driver.swipe(startx, starty, startx, endy, 3000)
• driver.swipe(startx, endy, startx, starty, 3000) 29
Your Topic www.company.com
30
Your Topic www.company.com

More Related Content

What's hot

iTunes App Store Submission Process
iTunes App Store Submission ProcessiTunes App Store Submission Process
iTunes App Store Submission Process
Anscamobile
 
Automating Hybrid Applications with Appium
Automating Hybrid Applications with AppiumAutomating Hybrid Applications with Appium
Automating Hybrid Applications with Appium
Sauce Labs
 
Mobile Apps presentation
Mobile Apps presentationMobile Apps presentation
Mobile Apps presentation
Tom Printy
 

What's hot (20)

CodeStrong ASO Keynote
CodeStrong ASO KeynoteCodeStrong ASO Keynote
CodeStrong ASO Keynote
 
How to build your own Android App -Step by Step Guide
How to build your own Android App -Step by Step GuideHow to build your own Android App -Step by Step Guide
How to build your own Android App -Step by Step Guide
 
Android Instant Apps testing
Android Instant Apps testingAndroid Instant Apps testing
Android Instant Apps testing
 
Top Best Practices for Successful Mobile Test Automation
Top Best Practices for Successful Mobile Test AutomationTop Best Practices for Successful Mobile Test Automation
Top Best Practices for Successful Mobile Test Automation
 
One Test To Rule Them All - Conquer Android and iOS With One Script
One Test To Rule Them All - Conquer Android and iOS With One ScriptOne Test To Rule Them All - Conquer Android and iOS With One Script
One Test To Rule Them All - Conquer Android and iOS With One Script
 
Live Panel: Appium Core Committers Answer Your Questions
Live Panel: Appium Core Committers Answer Your Questions		Live Panel: Appium Core Committers Answer Your Questions
Live Panel: Appium Core Committers Answer Your Questions
 
Improving Android app testing with Appium and Sauce Labs
Improving Android app testing with Appium and Sauce LabsImproving Android app testing with Appium and Sauce Labs
Improving Android app testing with Appium and Sauce Labs
 
Mobile Test Automation - Appium
Mobile Test Automation - AppiumMobile Test Automation - Appium
Mobile Test Automation - Appium
 
GoferZone
GoferZoneGoferZone
GoferZone
 
Appium meet up noida
Appium meet up noidaAppium meet up noida
Appium meet up noida
 
Mobile Test Automation
Mobile Test AutomationMobile Test Automation
Mobile Test Automation
 
Advanced Appium Tips & Tricks with Jonathan Lipps
Advanced Appium Tips & Tricks with Jonathan LippsAdvanced Appium Tips & Tricks with Jonathan Lipps
Advanced Appium Tips & Tricks with Jonathan Lipps
 
iTunes App Store Submission Process
iTunes App Store Submission ProcessiTunes App Store Submission Process
iTunes App Store Submission Process
 
Automating Hybrid Applications with Appium
Automating Hybrid Applications with AppiumAutomating Hybrid Applications with Appium
Automating Hybrid Applications with Appium
 
AIA2018 - Janno Stern - Intro To Product Sprint
AIA2018 - Janno Stern - Intro To Product SprintAIA2018 - Janno Stern - Intro To Product Sprint
AIA2018 - Janno Stern - Intro To Product Sprint
 
What's ionic framework?
What's ionic framework?What's ionic framework?
What's ionic framework?
 
Mobile Apps presentation
Mobile Apps presentationMobile Apps presentation
Mobile Apps presentation
 
Selenium Camp 2016
Selenium Camp 2016Selenium Camp 2016
Selenium Camp 2016
 
Beyond Responsive Web Design - Moving your web agency to mobile development (...
Beyond Responsive Web Design - Moving your web agency to mobile development (...Beyond Responsive Web Design - Moving your web agency to mobile development (...
Beyond Responsive Web Design - Moving your web agency to mobile development (...
 
Accidental API developer - the 12 month pregnancy to create new API
Accidental API developer - the 12 month pregnancy to create new APIAccidental API developer - the 12 month pregnancy to create new API
Accidental API developer - the 12 month pregnancy to create new API
 

Similar to b4usolution_Appium Mobile Automation Testing Made Awesome

Automated Mobile Testing using Appium.pdf
Automated Mobile Testing using Appium.pdfAutomated Mobile Testing using Appium.pdf
Automated Mobile Testing using Appium.pdf
Anand722237
 
Conversionista : Conversion manager course - Stockholm 20 march 2013
Conversionista : Conversion manager course  - Stockholm 20 march 2013Conversionista : Conversion manager course  - Stockholm 20 march 2013
Conversionista : Conversion manager course - Stockholm 20 march 2013
Craig Sullivan
 

Similar to b4usolution_Appium Mobile Automation Testing Made Awesome (20)

Mobile UI Testing using Appium and Docker
Mobile UI Testing using Appium and DockerMobile UI Testing using Appium and Docker
Mobile UI Testing using Appium and Docker
 
Appium solution
Appium solutionAppium solution
Appium solution
 
Measure camp tools of the cro rabble
Measure camp   tools of the cro rabbleMeasure camp   tools of the cro rabble
Measure camp tools of the cro rabble
 
Appium Interview Questions and Answers | Edureka
Appium Interview Questions and Answers | EdurekaAppium Interview Questions and Answers | Edureka
Appium Interview Questions and Answers | Edureka
 
Advanced Appium
Advanced AppiumAdvanced Appium
Advanced Appium
 
Appium solution artizone
Appium solution   artizoneAppium solution   artizone
Appium solution artizone
 
Launch High Performing Mobile Apps with Appurify
Launch High Performing Mobile Apps with AppurifyLaunch High Performing Mobile Apps with Appurify
Launch High Performing Mobile Apps with Appurify
 
Different Android Test Automation Frameworks - What Works You the Best?
Different Android Test Automation Frameworks - What Works You the Best?Different Android Test Automation Frameworks - What Works You the Best?
Different Android Test Automation Frameworks - What Works You the Best?
 
Appium Meetup #2 - Mobile Web Automation Introduction
Appium Meetup #2 - Mobile Web Automation IntroductionAppium Meetup #2 - Mobile Web Automation Introduction
Appium Meetup #2 - Mobile Web Automation Introduction
 
Automated Mobile Testing using Appium.pdf
Automated Mobile Testing using Appium.pdfAutomated Mobile Testing using Appium.pdf
Automated Mobile Testing using Appium.pdf
 
Do Try This at Home! Extend IBM Connections using IBM Worklight
Do Try This at Home! Extend IBM Connections using IBM WorklightDo Try This at Home! Extend IBM Connections using IBM Worklight
Do Try This at Home! Extend IBM Connections using IBM Worklight
 
Conversionista : Conversion manager course - Stockholm 20 march 2013
Conversionista : Conversion manager course  - Stockholm 20 march 2013Conversionista : Conversion manager course  - Stockholm 20 march 2013
Conversionista : Conversion manager course - Stockholm 20 march 2013
 
001-Mobile Application.pptx
001-Mobile Application.pptx001-Mobile Application.pptx
001-Mobile Application.pptx
 
Automation using Javascript
Automation using JavascriptAutomation using Javascript
Automation using Javascript
 
Appium overview
Appium overviewAppium overview
Appium overview
 
Advanced Appium: SeleniumConf UK 2016
Advanced Appium: SeleniumConf UK 2016Advanced Appium: SeleniumConf UK 2016
Advanced Appium: SeleniumConf UK 2016
 
SharePoint 2013 App Provisioning Models
SharePoint 2013 App Provisioning ModelsSharePoint 2013 App Provisioning Models
SharePoint 2013 App Provisioning Models
 
Ibm worklight - going from xpages mobile to native mobile applications
Ibm worklight - going from xpages mobile to native mobile applicationsIbm worklight - going from xpages mobile to native mobile applications
Ibm worklight - going from xpages mobile to native mobile applications
 
Parallel Test Runs with Appium on Real Mobile Devices – Hands-on Webinar
Parallel Test Runs with Appium on Real Mobile Devices – Hands-on WebinarParallel Test Runs with Appium on Real Mobile Devices – Hands-on Webinar
Parallel Test Runs with Appium on Real Mobile Devices – Hands-on Webinar
 
The ultimate guide to mobile app testing with appium
The ultimate guide to mobile app testing with appiumThe ultimate guide to mobile app testing with appium
The ultimate guide to mobile app testing with appium
 

More from b4usolution .

More from b4usolution . (15)

Agile_Scrum_B4USolution.pptx
Agile_Scrum_B4USolution.pptxAgile_Scrum_B4USolution.pptx
Agile_Scrum_B4USolution.pptx
 
2022_Bài 10_Thiết kế hệ thống thông tin trong logistics_Ths.Lê Thị Bích Hòa.pptx
2022_Bài 10_Thiết kế hệ thống thông tin trong logistics_Ths.Lê Thị Bích Hòa.pptx2022_Bài 10_Thiết kế hệ thống thông tin trong logistics_Ths.Lê Thị Bích Hòa.pptx
2022_Bài 10_Thiết kế hệ thống thông tin trong logistics_Ths.Lê Thị Bích Hòa.pptx
 
2022_Bài 9_Những vấn đề cơ bản về hệ thống thông tin trong logistics_Ths.Lê T...
2022_Bài 9_Những vấn đề cơ bản về hệ thống thông tin trong logistics_Ths.Lê T...2022_Bài 9_Những vấn đề cơ bản về hệ thống thông tin trong logistics_Ths.Lê T...
2022_Bài 9_Những vấn đề cơ bản về hệ thống thông tin trong logistics_Ths.Lê T...
 
2022_Bài 8_Một số ứng dụng TMDT khác và An Ninh TMDT_Ths.Lê Thị Bích Hòa.pptx
2022_Bài 8_Một số ứng dụng TMDT khác và An Ninh TMDT_Ths.Lê Thị Bích Hòa.pptx2022_Bài 8_Một số ứng dụng TMDT khác và An Ninh TMDT_Ths.Lê Thị Bích Hòa.pptx
2022_Bài 8_Một số ứng dụng TMDT khác và An Ninh TMDT_Ths.Lê Thị Bích Hòa.pptx
 
Agile_Scrum_B4USolution.pptx
Agile_Scrum_B4USolution.pptxAgile_Scrum_B4USolution.pptx
Agile_Scrum_B4USolution.pptx
 
B4USolution_Sexy qtest manager and automation tools to apply for full stack t...
B4USolution_Sexy qtest manager and automation tools to apply for full stack t...B4USolution_Sexy qtest manager and automation tools to apply for full stack t...
B4USolution_Sexy qtest manager and automation tools to apply for full stack t...
 
Sexy Using Cucumber - BDD in your project
Sexy Using Cucumber - BDD in your projectSexy Using Cucumber - BDD in your project
Sexy Using Cucumber - BDD in your project
 
B4usolution_AI for automation
B4usolution_AI for automationB4usolution_AI for automation
B4usolution_AI for automation
 
B4 u solution_writing test cases from user stories and acceptance criteria
B4 u solution_writing test cases from user stories and acceptance criteriaB4 u solution_writing test cases from user stories and acceptance criteria
B4 u solution_writing test cases from user stories and acceptance criteria
 
B4USolution_API-Testing
B4USolution_API-TestingB4USolution_API-Testing
B4USolution_API-Testing
 
B4usolution git git-hub
B4usolution git git-hubB4usolution git git-hub
B4usolution git git-hub
 
Selenium IDE
Selenium IDESelenium IDE
Selenium IDE
 
Appium testing api
Appium testing apiAppium testing api
Appium testing api
 
Select the right automation test tool in agile project
Select the right automation test tool in agile projectSelect the right automation test tool in agile project
Select the right automation test tool in agile project
 
Introduction to blazemeter and jmeter
Introduction to blazemeter and jmeterIntroduction to blazemeter and jmeter
Introduction to blazemeter and jmeter
 

Recently uploaded

+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)

Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
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
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
+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...
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
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
 

b4usolution_Appium Mobile Automation Testing Made Awesome