O'Reilly logo

Cucumber Cookbook by Shankar Garg

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required