as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
Ring
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持
跳转到主要内容
The Vega SDK supports Appium, an open-source test automation framework for native, mobile, and hybrid apps. With Appium, you can perform user interface (UI) test automation at different testing levels, which include integration tests, end-to-end tests, and functional tests. This page provides steps to install Appium for Vega integration.

Prerequisites

  1. Install the Vega SDK. The Vega SDK includes the Vega Appium Driver and the Vega Virtual Device. For installation instructions, see Install the Vega SDK.
  2. Use a supported version of Node.js. The Vega Appium Driver supports Node.js 16, 18, 20, and 22. The Vega SDK 2.0 requires Node.js 22.14.0 or later, so use Node.js 22.14.0 or a later 22.x release. To check your version, run:
  3. Check if you have Appium version 2.2.2 installed.
    The output shows your installed Appium version, or an error if Appium is not installed.
  1. Uninstall previous versions of Appium.
  2. Uninstall @appium/types.

Install Appium

To install Appium and its required components for Vega integration, complete the following steps.
  1. Install the Appium Server 2.2.2.
  2. Verify the Appium version.
    The output shows 2.2.2, confirming the correct Appium version is installed.
  3. (Optional) Install @appium/types.
  4. Install the Vega Appium Driver.
  5. Verify the installation of the Vega Appium Driver.
    The output lists the available drivers.
  6. Add vda to the global path. The Vega Device Adapter (VDA) command line utility lets you install, test, and debug your Vega app. For Appium to communicate with the Fire TV device or Vega Virtual Device, vda must be on your global PATH. Rather than hardcoding an SDK version, resolve the VDA binary dynamically and add its directory to your PATH. Add this line to your shell profile (~/.zshrc, ~/.bashrc, or equivalent):
    Reload your shell:
    Verify the VDA binary:
    which vda should resolve to the VDA binary inside your active Vega SDK.

Next steps


最后修改于 2026年10月30日