Appium-Drivers-Espresso(Android)

这是一款用于Android的谷歌官方的测试框架

The Espresso Driver for Android

          • Requirements and Support
          • Usage
          • Capabilities
          • Setup

Appium currently has support for the Espresso automation technology via its own Espresso driver. This driver works by kicking off an Espresso run on a device, with our own automation server as part of the Espresso test APK. Appium can then communicate with this automation server and trigger Espresso commands as the result of Appium client calls.

Appium目前有支持通过自己的Espresso driver自动化技术。
这里driver工程通过离线一个Espresso运行在一个设备上,
我们自己的自动化服务作为Espersso test APK的一部分。
Appium可以与自动化服务器通信,并作为Appium客户端触发Espresso命令

Development of the Espresso driver happens at the appium-espresso-driver repo.

开发Espresso driver在appium-espresso-driver repo中

Appium also supports Android automation using the UiAutomator2 Driver.)

Appium也支持使用UiAutomator2 Driver的Android automation
Requirements and Support

In addition to Appium’s general requirements:

  • Java 8 installed and configured correctly for your platformJava8
  • Mac, Windows, or Linux OS with the ability to run the Android SDKAndroid SDK
  • The minimum required Android SDK Build Tools version is 24Android SDK Build Tools最低版本24
Usage

The way to start a session using the Espresso driver is to include the automationName capability in your new session request, with the value Espresso. Of course, you must also include appropriate platformName (=Android), platformVersion, deviceName, and app capabilities, at a minimum.

开始会话的方法是在新会话请求中包含automationName功能,
值为Espresso.
当然,你必须至少包含合适的`platformName` (=`Android`), `platformVersion`, `deviceName`, 
and `app` capabilities
Capabilities

The Espresso driver currently supports a subset of the standard Android capabilities.

Espresso driver当前支持标准的Android capabilities.
Setup

Setup for the Espresso driver basically entails getting the Android SDK and build tools ready to go. You can follow the instructions at the UiAutomator2 Driver doc, since the steps are the same.

为Espresso driver设置基本需要准备好Android SDK和build tools。
你可以按照UiAutomator2 Driver doc,所以步骤是相同的

你可能感兴趣的:(Appium,java,android,软件测试,android,studio,大数据)