这是一款用于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,所以步骤是相同的

更多相关文章

  1. Android窗口机制(一)初识Android的窗口结构
  2. ❤️Android(安卓)从源码解读 Apk 的安装过程 ❤️
  3. [置顶] 我的Android进阶之旅------>Android中StateListDrawable
  4. 我的Android进阶之旅------>Android中StateListDrawable支持的状
  5. android选项卡
  6. 【学习推荐】最新Android学习教程持续更新
  7. 支持API接口的开源CMS,基于Laravel开发
  8. 基于Laravel的国产开源CMS,支持Swoole,含API接口
  9. AlmaLinux镜像在阿里云镜像站首发上线

随机推荐

  1. Android完整知识体系路线(菜鸟-资深-大牛
  2. App模块化及工程扩展
  3. [Android基础] VideoView
  4. Android(安卓)Studio使用USB真机调试
  5. Andoird用户界面设计上手指南:设置字体大
  6. android 文件存储调试细节(小米系统)
  7. Android用复用/重用布局
  8. Java及Android中常用链式调用写法简单示
  9. Android(安卓)API Guides---Motion Senso
  10. [掌上智能] 为什么Android即使硬件高一档