Test Automation for Mobile Apps using Appium and Python

This tutorial will make web UI testing easy. We will build a simple yet robust web UI test solution using Python, pytest, and Selenium WebDriver. We will learn strategies for good test design as well as patterns for good automation code. By the end of the tutorial, you’ll be a web test automation champ! Your Python test project can be the foundation for your own test cases, too.

Tutorial Chapters

  1. Set Your Test Automation Goals (Chapter 1)
  2. Create A Python Test Automation Project Using Pytest (Chapter 2)
  3. Installing Selenium WebDriver Using Python and Chrome (Chapter 3)
  4. Write Your First Web Test Using Selenium WebDriver, Python and Chrome (Chapter 4)
  5. Develop Page Object Selenium Tests Using Python (Chapter 5)
  6. How to Read Config Files in Python Selenium Tests (Chapter 6)
  7. Take Your Python Test Automation To The Next Level (Chapter 7)

This tutorial focused exclusively on web UI testing, but the same principles and techniques can be used to test mobile apps as well! Appium is an open source project built on top of WebDriver for testing both native mobile apps and mobile web browser apps. Python is one of many available language bindings for Appium. Since Appium is based on WebDriver, the API is similar, and page objects can be used.

Check out this talk from PyCon 2018 (presented by Nir Arad) to learn more:


Go ahead and check out the next tip for taking your web UI testing with Python to the next level.


TestProject Test Automation Tool