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 ...

Get Cucumber Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.