这是一款用于Android的谷歌官方的测试框架
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
In addition to Appium’s general requirements:
Java8
Android SDK
Android SDK Build Tools最低版本24
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
The Espresso driver currently supports a subset of the standard Android capabilities.
Espresso driver当前支持标准的Android capabilities.
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,所以步骤是相同的