- Mobile Test Automation with Appium
- Nishant Verma
- 186字
- 2021-07-02 20:34:36
UiAutomator 2
UIAutomator 2 is an automation framework based on Android instrumentation and allows one to build and run UI tests.
Appium uses Google’s UIAutomator to execute commands on real devices and emulators. UIAutomator is Google’s test framework for native app automation at the UI level. Typical usage would be to pass the following in desired capabilities:
automationName: uiautomator2
With version 1.6, Appium has provided support to UiAutomator 2. Appium uses the appium-android-bootstrap module to interact with UI Automator. It allows commands to be sent to the device, which are then executed on real devices using Android's UIAutomator testing framework.
When Appium client requests to create a new AndroidDriver session, the client passes the desired capability to the Appium node server. The UIAutomator2 driver module creates the session. It then installs the UIAutomator2 server APK on the connected Android device, starts the Netty server, and initiates a session. Once the Netty server session is started, the UIAutomator2 server continues to listen on the device for requests and responds:

- GAE編程指南
- Raspberry Pi for Python Programmers Cookbook(Second Edition)
- Docker and Kubernetes for Java Developers
- Photoshop智能手機APP UI設計之道
- Magento 2 Development Cookbook
- VMware vSphere 6.7虛擬化架構實戰指南
- 網頁設計與制作教程(HTML+CSS+JavaScript)(第2版)
- Scratch 3.0少兒編程與邏輯思維訓練
- Oracle數據庫從入門到運維實戰
- Windows Server 2012 Unified Remote Access Planning and Deployment
- Visual Basic程序設計實驗指導(第4版)
- 軟件項目管理實用教程
- Getting Started with React Native
- Mastering React
- R語言數據可視化:科技圖表繪制