Skip to content

AntonChernobrovkin/Pytest-Appium-OpenCV-sample

Repository files navigation

Sample Pytest+Appium project with OpenCV. Tuned for case when we cannot access buttons with Selenium and have to find them with image search by OpenCV

Pre-requisites

  • Host with Appium
  • Fresh Python (3.12 used while development)
  • Python modules installed with $pip install -r requirements.txt

Usage

  • Set device capabilities and Appium url in dynamic_env.py
  • Connect device to host, start Appium
  • Start test with $pytest from root directory of project

Known issues

Debug log file "autotests.log" is very big because of Selenium Debug-level logs, that save all images passed through it.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages