Mobile Test Automation with Appium

Automate your mobile app testing

Mobile Test Automation with Appium

This ebook is included in a Mapt subscription
Nishant Verma

Automate your mobile app testing
$10.00
$39.99
RRP $31.99
RRP $39.99
eBook
Print + eBook
Access every Packt eBook & Video for just $100
 
  • 4,000+ eBooks & Videos
  • 40+ New titles a month
  • 1 Free eBook/Video to keep every month
Find Out More
 
Preview in Mapt

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

Read More Reviews