Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazonアプリストア
Ring
AWS
ドキュメント
Support
Contact Us
My Cases
開発
設計と開発
公開
リファレンス
サポート
メインコンテンツへスキップ
The Appium Vega Driver enables automated testing of apps on Fire TV Stick. This page shows how to create automated tests using Python, Java, or JavaScript.

Prerequisites

  1. Complete the steps in Set Up Testing with Appium.
  2. Review Manage Appium Sessions for capabilities configuration.
  3. Confirm if the Appium server is running on default port 4723:
  4. Have a Vega-supported Fire TV device or Vega Virtual Device with a target app installed.

Write your test script

  1. Choose your preferred integrated development environment and programming language.
  2. 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
    1. Check for Maven installation.
    1. Create a pom.xml in your project root.
    1. Create a test class. See text class.
    Project setup using Gradle
    1. Verify Gradle installation:
    1. Create build.gradle in your project root:
    1. Create settings.gradle.
    1. Create a test class. See text class.

Test class

Run your test script

You can run your test script using your preferred testing framework and tooling.
  1. Open a command prompt.
  2. Navigate to your test file location.
  3. Run the test.
Python:
Example output:
JavaScript:
Example output:
Java Using Maven:
Using Gradle:
Example output:

最終更新日 2025年9月30日