Performance Testing for Android Web Apps

Performance Testing for Android Web Apps

Use Appium to explore performance data for your Android web/hybrid apps. This talk was originally given at Front End Ops Conf 2014 in San Francisco, CA.

174ae1c2a863b7daf240a86da84671bd?s=128

Jonathan Lipps

April 24, 2014
Tweet

Transcript

  1. mobile automation made awesome Jonathan Lipps • Director of Ecosystem

    & Integrations • Sauce Labs @AppiumDevs • @jlipps • @saucelabs FE Ops • April 24, 2014
  2. Ecosystem & Integrations Project Lead & Architect Jonathan Lipps •

    Director of Ecosystem & Integrations • Sauce Labs @AppiumDevs • @jlipps • @saucelabs Performance Testing for Android HybridWeb! Apps
  3. appium introduction

  4. appium is the cross-platform solution for native and hybrid mobile

    automation
  5. 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.
  6. Platform Support Real devices Simulators Native apps Hybrid apps Mobile

    web Robots?!
  7. 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
  8. None
  9. Installation npm install -g appium && appium

  10. appium api

  11. Start/stop a session

  12. Switch contexts

  13. Get testy

  14. appium performance

  15. 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
  16. None
  17. None
  18. None
  19. github://jlipps/chrome-ops

  20. None
  21. None
  22. 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
  23. Automated Testing Prevents... ✔ Regressions in functionality

  24. Automated Testing Prevents... ✔ Regressions in functionality ✔ Regressions in

    performance
  25. Automated Testing Provides... ✔ Explicit specification of functionality

  26. Automated Testing Provides... ✔ Explicit specification of functionality ✔ Explicit

    specification of performance
  27. Automated Testing Provides... ✔ Explicit specification of functionality ✔ Explicit

    specification of performance ✔ Historical performance statistics
  28. Demo

  29. None
  30. appium scale

  31. Sauce Labs is great for scale when you need to

    run a lot of appium tests in your build
  32. appium recap

  33. ✔ appium: mobile native/hybrid automation

  34. ✔ appium: mobile native/hybrid automation ✔ Talk to appium server

    with HTTP client
  35. ✔ appium: mobile native/hybrid automation ✔ Talk to appium server

    with HTTP client ✔ Get performance logs
  36. ✔ appium: mobile native/hybrid automation ✔ Talk to appium server

    with HTTP client ✔ Get performance logs ✔ Turn logs into useful data using chrome-ops
  37. ✔ 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!
  38. github://jlipps/feoc2014

  39. Questions? http://appium.io https://github.com/appium/appium @AppiumDevs • @jlipps • @saucelabs

  40. Thanks! http://appium.io https://github.com/appium/appium @AppiumDevs • @jlipps • @saucelabs