Tuesday, 13 July 2021

Android Uiautomator2 | Finding Elements using UiAutomator

The UiAutomator2 Driver for Android

From Appium official Github page about what they say:-

Appium's flagship support for automating Android apps is via the UiAutomator2 driver. (New to Appium? Read introduction to Appium drivers). This driver leverages Google's UiAutomator2 technology to facilitate automation on a device or emulator.

Development of the UiAutomator2 driver happens at the appium-uiautomator2-driver repo.

Older Android-based drivers include: * The UiAutomator Driver

Requirements and Support

In addition to Appium's general requirements:

  • Java 8 installed and configured correctly for your platform
  • Mac, Windows, or Linux OS with the ability to run the Android SDK
  • The minimum required Android SDK Build Tools version is 24

Further, the UiAutomator2 driver does not support Android versions below 5.0 (Lollipop, API level 21). If you are automating such versions, consider using the UiAutomator driver;

Below is the video tutorial on how to find elements using UiAutomator

No comments:

Post a Comment

Interview Experience with AMAZON for the role of Quality Assurance Tester

This role was for Digital/ IoT/Mobile Application based testing :)  Amazon is a dream company and everyone wants to work for that company a...

Popular Posts