Mobile Test Automation with Appium

Automate your mobile app testing
Preview in Mapt

Mobile Test Automation with Appium

Nishant Verma

2 customer reviews
Automate your mobile app testing
Mapt Subscription
FREE
$29.99/m after trial
eBook
$22.40
RRP $31.99
Save 29%
Print + eBook
$39.99
RRP $39.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$22.40
$39.99
$29.99 p/m after trial
RRP $31.99
RRP $39.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Mobile Test Automation with Appium Book Cover
Mobile Test Automation with Appium
$ 31.99
$ 22.40
Mastering Windows Penetration Testing Book Cover
Mastering Windows Penetration Testing
$ 39.99
$ 28.00
Buy 2 for $35.00
Save $36.98
Add to Cart

Book Details

ISBN 139781787280168
Paperback231 pages

Book Description

Appium is an open source test automation framework for mobile applications. It allows you to test all three types of mobile applications: native, hybrid, and mobile web. It allows you to run the automated tests on actual devices, emulators, and simulators. Today, when every mobile app is made on at least two platforms, iOS and Android, you need a tool that allows you to test across platforms.

Having two different frameworks for the same app increases the cost of the product and time to maintain it as well. Appium helps save this cost.

With mobile app growth exploding, mobile app automation is mainstream now. In this book, author Nishant Verma provides you with a firm grounding in the concepts of Appium while diving into how to set up appium & Cucumber-jvm test automation framework, implement page object design pattern, automate gestures, test execution on emulators and physical devices, and implement continuous integration with Jenkins. The mobile app we have referenced in this book is Quikr because of its relatively lower learning curve to understand the application. It's a local classifieds shopping app.

Table of Contents

Chapter 1: Introduction to Appium
Native app
Mobile Web app
Hybrid app
Appium architecture
Summary
Chapter 2: Setting Up the Machine
Machine setup for macOS
Machine setup for Windows
Appium GUI app
Summary
Chapter 3: Writing Your First Appium Test
Creating an Appium Java project (using gradle)
Introduction to Cucumber
Writing our first Appium test
Summary
Chapter 4: Understanding Desired Capabilities
Refactoring -1
Server argument
Server capabilities
Android-only capabilities
iOS-only capabilities
Summary
Chapter 5: Understanding Appium Inspector to Find Locators
Appium inspector
Summary
Chapter 6: How to Synchronize Tests
AppiumDriver
Implicit wait
Explicit wait
Fluent wait
Summary
Chapter 7: How to Automate Gestures
Gestures
Summary
Chapter 8: Design Patterns in Test Automation
Refactor -1
Page Object pattern
Summary
Chapter 9: How to Run Appium Test on Devices and Emulators
Emulator
Devices
Summary
Chapter 10: Continuous Integration with Jenkins
Refactoring -1
Setting up Jenkins
Summary
Chapter 11: Appium Tips and Tricks
Switching between views - web and native
Taking screenshots
Recording video execution
Interacting with another app
Running the test in parallel
Network conditioning
Summary
Chapter 12: Appium Desktop App
Installing the new Appium app
Summary
Chapter 13: Appendix
Introduction to Cucumber
Finding an app's package name and launch activity
Installing Google Play services in the Genymotion emulator
Summary

What You Will Learn

  • Discover Appium and how to set up an automation framework for mobile testing
  • Understand desired capabilities and learn to find element locators
  • Learn to automate gestures and synchronize tests using Appium
  • Take an incremental approach to implement page object pattern
  • Learn to run Appium tests on emulators or physical devices
  • Set up Jenkins to run mobile automation tests by easy to learn steps
  • Discover tips and tricks to record video of test execution, inter app automation concepts
  • Learn to run Appium tests in parallel on multiple devices simultaneously

Authors

Table of Contents

Chapter 1: Introduction to Appium
Native app
Mobile Web app
Hybrid app
Appium architecture
Summary
Chapter 2: Setting Up the Machine
Machine setup for macOS
Machine setup for Windows
Appium GUI app
Summary
Chapter 3: Writing Your First Appium Test
Creating an Appium Java project (using gradle)
Introduction to Cucumber
Writing our first Appium test
Summary
Chapter 4: Understanding Desired Capabilities
Refactoring -1
Server argument
Server capabilities
Android-only capabilities
iOS-only capabilities
Summary
Chapter 5: Understanding Appium Inspector to Find Locators
Appium inspector
Summary
Chapter 6: How to Synchronize Tests
AppiumDriver
Implicit wait
Explicit wait
Fluent wait
Summary
Chapter 7: How to Automate Gestures
Gestures
Summary
Chapter 8: Design Patterns in Test Automation
Refactor -1
Page Object pattern
Summary
Chapter 9: How to Run Appium Test on Devices and Emulators
Emulator
Devices
Summary
Chapter 10: Continuous Integration with Jenkins
Refactoring -1
Setting up Jenkins
Summary
Chapter 11: Appium Tips and Tricks
Switching between views - web and native
Taking screenshots
Recording video execution
Interacting with another app
Running the test in parallel
Network conditioning
Summary
Chapter 12: Appium Desktop App
Installing the new Appium app
Summary
Chapter 13: Appendix
Introduction to Cucumber
Finding an app's package name and launch activity
Installing Google Play services in the Genymotion emulator
Summary

Book Details

ISBN 139781787280168
Paperback231 pages
Read More
From 2 reviews

Read More Reviews

Recommended for You

Penetration Testing Bootcamp Book Cover
Penetration Testing Bootcamp
$ 35.99
$ 25.20
Bootstrap 4 - Responsive Web Design Book Cover
Bootstrap 4 - Responsive Web Design
$ 71.99
$ 50.40
Android Things Projects Book Cover
Android Things Projects
$ 31.99
$ 22.40
Penetration Testing with Shellcode Book Cover
Penetration Testing with Shellcode
$ 39.99
$ 28.00
Mastering Windows Penetration Testing Book Cover
Mastering Windows Penetration Testing
$ 39.99
$ 28.00
Professional Oracle Mobile Book Cover
Professional Oracle Mobile
$ 39.99
$ 28.00