mobile automation made awesome
Jonathan Lipps • Director of Ecosystem & Integrations • Sauce Labs
@AppiumDevs • @jlipps • @saucelabs
FE Ops • April 24, 2014
Slide 2
Slide 2 text
Ecosystem &
Integrations
Project Lead &
Architect
Jonathan Lipps • Director of Ecosystem & Integrations • Sauce Labs
@AppiumDevs • @jlipps • @saucelabs
Performance Testing for Android HybridWeb! Apps
Slide 3
Slide 3 text
appium introduction
Slide 4
Slide 4 text
appium is the cross-platform
solution for native and hybrid
mobile automation
Slide 5
Slide 5 text
The appium philosophy
Test the same app you submit to the
marketplace
Write your tests in any language, using any
framework
Use a standard automation speci cation
and API
Build a large and thriving open-source
community effort
R1.
R2.
R3.
R4.
Slide 6
Slide 6 text
Platform Support
Real devices
Simulators
Native apps
Hybrid apps
Mobile web
Robots?!
Slide 7
Slide 7 text
Automation Orchestra
Apple Instruments & UIAutomation for iOS
Google UiAutomator for Android (4.2.1 up)
Selendroid for older Android
Chromedriver for Android web & hybrid
WebDriver interface
Slide 8
Slide 8 text
No content
Slide 9
Slide 9 text
Installation
npm install -g appium && appium
Slide 10
Slide 10 text
appium api
Slide 11
Slide 11 text
Start/stop a session
Slide 12
Slide 12 text
Switch contexts
Slide 13
Slide 13 text
Get testy
Slide 14
Slide 14 text
appium performance
Slide 15
Slide 15 text
Automation Orchestra
Apple Instruments & UIAutomation for iOS
Google UiAutomator for Android (4.2.1 up)
Selendroid for older Android
Chromedriver for Android web & hybrid
WebDriver interface
Slide 16
Slide 16 text
No content
Slide 17
Slide 17 text
No content
Slide 18
Slide 18 text
No content
Slide 19
Slide 19 text
github://jlipps/chrome-ops
Slide 20
Slide 20 text
No content
Slide 21
Slide 21 text
No content
Slide 22
Slide 22 text
Dear Dev,
Sorry! You checked in code that will create
a bad scrolling experience for users of our
app. Please learn JS kthxbai.
Love, the build
Slide 23
Slide 23 text
Automated Testing Prevents...
✔ Regressions in functionality
Slide 24
Slide 24 text
Automated Testing Prevents...
✔ Regressions in functionality
✔ Regressions in performance
Slide 25
Slide 25 text
Automated Testing Provides...
✔ Explicit specification of functionality
Slide 26
Slide 26 text
Automated Testing Provides...
✔ Explicit specification of functionality
✔ Explicit specification of performance
Slide 27
Slide 27 text
Automated Testing Provides...
✔ Explicit specification of functionality
✔ Explicit specification of performance
✔ Historical performance statistics
Slide 28
Slide 28 text
Demo
Slide 29
Slide 29 text
No content
Slide 30
Slide 30 text
appium scale
Slide 31
Slide 31 text
Sauce Labs is great for scale
when you need to run a lot of
appium tests in your build
Slide 32
Slide 32 text
appium recap
Slide 33
Slide 33 text
✔ appium: mobile native/hybrid automation
Slide 34
Slide 34 text
✔ appium: mobile native/hybrid automation
✔ Talk to appium server with HTTP client
Slide 35
Slide 35 text
✔ appium: mobile native/hybrid automation
✔ Talk to appium server with HTTP client
✔ Get performance logs
Slide 36
Slide 36 text
✔ appium: mobile native/hybrid automation
✔ Talk to appium server with HTTP client
✔ Get performance logs
✔ Turn logs into useful data using chrome-ops
Slide 37
Slide 37 text
✔ appium: mobile native/hybrid automation
✔ Talk to appium server with HTTP client
✔ Get performance logs
✔ Turn logs into useful data using chrome-ops
✔ Add performance specs to your build!