Prerequisites
- Complete the steps in Set Up Testing with Appium.
- Review Manage Appium Sessions for capabilities configuration.
-
Confirm if the Appium server is running on default port 4723:
- Have a Vega-supported Fire TV device or Vega Virtual Device with a target app installed.
Write your test script
- Choose your preferred integrated development environment and programming language.
-
Create a new file with the following code snippet:
Python:
JavaScript:Java: Java requires compilation and dependency management. Use Maven or Gradle to handle these requirements automatically. Project setup using Maven
- Check for
Maveninstallation.
- Create a
pom.xmlin your project root.
- Create a test class. See text class.
- Verify
Gradleinstallation:
- Create
build.gradlein your project root:
- Create
settings.gradle.
- Create a test class. See text class.
- Check for
Test class
Run your test script
You can run your test script using your preferred testing framework and tooling.- Open a command prompt.
- Navigate to your test file location.
- Run the test.

