Skip to content

Sample framework with python, appium and pytest, using CI GitHub Actions and Poetry, dynaconf

License

Notifications You must be signed in to change notification settings

dmberezovskyii/pytest-python-appium-framework

Repository files navigation

📌 Overview

pytest-python-appium-framework is a lightweight and efficient mobile automation framework built with Python, Appium, and pytest. It provides a structured approach for UI testing of mobile applications on both Android and iOS platforms.

🛠️ Requirements

Before installing, ensure you have the following dependencies:

  • Python: 3.10 - 3.12
  • pytest: 8.3.0
  • APPIUM: 2.6.0
  • CI: GitHub Actions
  • ENV: dynaconf

LinkedIn

✨ Features

  • ✅ User-friendly UI automation framework.
  • ✅ Built on popular Python libraries: pytest and APPIUM.
  • ✅ Supports iOS, Android,
  • ✅ Supports multiple environments: stage, prod.
  • ✅ Generates pytest reports and custom logs.
  • ✅ Configuration management via dynaconf
  • ✅ Test Data Management: Integrated with YAML files for test data storage and access.
  • ✅ Custom logging and reporting
  • ✅ Supports fundamental UI interactions (tap, swipe, scroll, input and more)

Getting Started

🚀 Installation

  1. Clone this repository:
    git clone https://github.com/dmberezovskyii/pytest-python-appium-framework.git
  2. Install required dependencies:
    pip install poetry
    poetry shell
    poetry env info
    copy `Executable: path to virtual env` -> Add Interpreter -> Poetry Environment -> Existing environment -> add Executable -> Apply
    poetry install
    then specify your poetry env