[Binh nguyen] Mobile Application Automation Testing iOS and Android

2,064 views

Published on

Mobile application testing on iOS or Android can be quite a challenge for a Quality Assurance team. One reason is that mobile applications are often required to function on a variety of devices featuring different hardware capabilities, configurations, and specifications. Many different types of testing including automation are required to cover different areas of the application. Many people believe that automated testing may replace manual testing almost entirely. In reality, however, automated testing is still not able to cover all the types of testing that manual testing does. Automation Mobile Testing: framework, tools, some suggested solutions.

0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,064
On SlideShare
0
From Embeds
0
Number of Embeds
341
Actions
Shares
0
Downloads
71
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

[Binh nguyen] Mobile Application Automation Testing iOS and Android

  1. 1. STC 2014 Mobile App Automation Testing On iOS and Android BINH NGUYEN Technical Architecture, TesterVN
  2. 2. Agenda • Overview of Mobile Automation • Mobile Application Automation Challenges – Challenges In Mobile Automation Testing – Open Source Mobile Automation Tools • Case Study – Amazon – Mobile Automation Framework Architecture – Project Structure • Q&A 2
  3. 3. 3 Overview of Mobile Automation
  4. 4. Introduction 4
  5. 5. Mobile Categories 5
  6. 6. 6 Mobile Application Automation Challenges
  7. 7. Five Challenges 7 Application Technical Network Business Test
  8. 8. Test Challenges 8  Test combinations - platforms, devices and versions.  End to end automation - API to device UI, external databases and systems.  Testing with physical devices - device, network operator and network.
  9. 9. 9 Mobile Automation Tools
  10. 10. Open Source Tools 10 IOS ANDROID Calabash-ios Calabash-ios Frank MonkeyTalk UIAutomation Robotium IOS-Driver UIAutomator KeepItFunctional Selendroid Appium
  11. 11. Why Appium? 11 Appium Support any framework Support any languages Real-World approach Cross Browsers/Devices
  12. 12. Pros and Cons Appium 12 Pros:  Supporting cross-platform testing  Automating Native, Web, Hybrid application  Writing in any frameworks or languages  Developing and supporting by Sauce Labs Cons:  iOS run one instance per MacOS  Android supports SDK platform API16 or higher
  13. 13. 13 Case Study: Amazon Department Online Store
  14. 14. Amazon Approach 14 Tools (Appium, Webdriver API) Page Object Model/Pattern (POM) Framework & Project Structure
  15. 15. How Appium iOS Works? 15
  16. 16. How Appium Android Works? 16
  17. 17. Why POM? 17
  18. 18. 18 Mobile Automation Framework Architecture
  19. 19. Framework Architecture 19
  20. 20. Project Structure 20 AmazonProject Configuration File Libraries/Utilities Test Data Object Repository Test Scripts Test Reports Test Logs
  21. 21. Summary 21  Test Challenges in Mobile Automation  Applying appium and Page Object Model (POM) to automated Amazon website on mobile  Mobile Automation Framework Architecture & Project Structure
  22. 22. Q&A 22
  23. 23. Reference 23  [1] Amit Rawat, Appium: A Cross-browser Mobile Automation Tool, 2013(http://blog.3pillarglobal.com/appium- cross-browser-mobile-automation-tool)  [2] Test Experience, Mobile App Testing, The Magazine For Professional Testers, 2012
  24. 24. © 2014 HCMC Software Testing Club THANK YOU

×