Skip to content

fully charged mobile end-to-end testing framework with selene + appium + pytest

License

Notifications You must be signed in to change notification settings

automician/python-mobile-test-template

Repository files navigation

Mobile cross-platform tests (1 test covers ios + android ) with Python + Pytest + Selene + Appium

Quick Start / Demo

  1. Clone this repo
  2. Do poetry install
  3. Open project in your favorite code editor, setup interpreter
  4. Download wikipedia app apk, and store it inside project root with name app-alpha-universal-release.apk.
  5. Go through Appium Setup for Local Android Tutorial if you haven't set up your local infrastructure yet. a. This guides can be an alternative source of materials: official guide on complete driver setup for android devices. Setup only one device – either an android emulator or a real android device (connected to your machine). One more real device checklist – from Zebrunner and consider some other developer options like «Stay awake» from this official android guide. If you want to set up more than one device at once, you have to decide which device to use for tests, get its id from the result of running adb devices command and add a udid=<YOUR_DEVICE_ID> either to the corresponding .env.{context}.defaults file, or custom .env file.
  6. Run pytest tests/ from your terminal to execute the test on Android platform, or run it through your IDE.

What's next...

TBD...

About

fully charged mobile end-to-end testing framework with selene + appium + pytest

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages