Skip to main content
Ask AI

Get Started with Appium (Python)

This guide takes you from an empty environment to your first instrumented Appium run.

Paste this prompt into your coding agent:

Set up TestRelic analytics for my Appium pytest suite.

1. Install the plugin: pip install testrelic-appium
2. The plugin auto-activates via its pytest11 entry point — do NOT add any
conftest.py wiring. It wraps any appium.webdriver.webdriver.WebDriver found
in a test's fixtures automatically.
3. Make sure an Appium server is running (appium.io) and a device or emulator
is available.
4. Run `pytest`. Confirm test-results/testrelic-timeline.html and
testrelic-timeline.json were created.
5. Open the HTML report to verify the command timeline rendered.
Android vs iOS prerequisites

The quickstart targets Android via UiAutomator2Options. iOS testing additionally requires macOS with Xcode (and the XCUITest driver). The plugin captures iOS syslog, crashlog, and safariNetwork data once your iOS Appium session is running.

Next steps