Building a Mobile Automation framework
Appium is an open source Mobile Automation tool that has made life a lot easier for testers because it supports both Android and iOS. It has extended Selenium API, so all the Selenium advantages plus the advantage of running test cases on multiple platforms makes it an obvious choice for mobile automation.
Let's learn how we can create a robust mobile automation framework using Cucumber and Appium, along with keeping maintainability and scalability in mind using the Page Object Model.
I am just giving a demo of Android app automation; the same project and framework can be used for iOS automation as well. I will also create placeholders for iOS packages for your reference, if you want to use a single framework for both Android and iOS apps.
Getting ready
- Download and install Appium on your system and for more information, refer to http://appium.io/downloads.html.
- Download and install Android SDK Manager from http://developer.android.com/tools/help...