Skip to content

Appium UiAutomator/UiObject2-based server for Android UI automation. This module is used by appium-uiautomator2-driver component

License

Notifications You must be signed in to change notification settings

yoshitaka-ogata/appium-uiautomator2-server

This branch is 7 commits ahead of, 180 commits behind appium/appium-uiautomator2-server:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e800feb · Jun 20, 2023
May 5, 2023
Jun 20, 2023
May 7, 2018
Apr 24, 2023
Sep 1, 2022
Aug 30, 2022
May 26, 2020
Jan 12, 2018
Dec 1, 2022
Jun 7, 2023
Oct 16, 2017
Feb 12, 2022
Apr 24, 2023
Jan 23, 2022
Jan 22, 2018
May 17, 2016
Aug 30, 2022
Jun 7, 2023
May 17, 2016

Repository files navigation

appium-uiautomator2-server

NPM version Downloads

A netty server that runs on the device listening for commands and executes using UiAutomator V2.

building project

build the android project using below commands

gradle clean assembleServerDebug assembleServerDebugAndroidTest

Starting server

push both src and test apks to the device and execute the instrumentation tests.

adb shell am instrument -w io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner

run unitTest

build the unitTest flavor using the below commands

gradle clean assembleE2ETestDebug assembleE2ETestDebugAndroidTest

unitTest flavor contains tests for handlers and can be invoked by using following command

gradle clean connectedE2ETestDebugAndroidTest

the above command takes care about installing the AUT apk in to the testing device/emulator before running the tests.

you can also invoke the test using below command

adb shell am instrument -w io.appium.uiautomator2.e2etest.test/androidx.test.runner.AndroidJUnitRunner

Note: AUT apk should be installed before executing above command.

Other Sections:

About

Appium UiAutomator/UiObject2-based server for Android UI automation. This module is used by appium-uiautomator2-driver component

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 99.7%
  • Other 0.3%