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 platform
Java8
- Mac, Windows, or Linux OS with the ability to run the Android SDK
Android SDK
- The minimum required Android SDK Build Tools version is 24
Android 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,所以步骤是相同的
更多相关文章
- Android窗口机制(一)初识Android的窗口结构
- ❤️Android(安卓)从源码解读 Apk 的安装过程 ❤️
- [置顶] 我的Android进阶之旅------>Android中StateListDrawable
- 我的Android进阶之旅------>Android中StateListDrawable支持的状
- android选项卡
- 【学习推荐】最新Android学习教程持续更新
- 支持API接口的开源CMS,基于Laravel开发
- 基于Laravel的国产开源CMS,支持Swoole,含API接口
- AlmaLinux镜像在阿里云镜像站首发上线