Skip to content
No description or website provided.
Branch: master
Clone or download
Latest commit 1786d0c Apr 17, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
app 3.5.0 Apr 17, 2019
gradle/wrapper Improve the implementation of the 'scroll' command (#244) Feb 5, 2019
lib/scripts APK presign fix (#197) Oct 4, 2018
.gitignore generalize contentSize's scrollableOffset (#119) Feb 22, 2018
.npmrc Stop making package-lock.json file (#109) Jan 12, 2018
.travis.yml Update components and migrate to androidx (#232) Dec 16, 2018
LICENSE Update license Oct 16, 2017
build.gradle Bump Gradle version and update wake lock tag (#261) Apr 3, 2019
gradlew fix first visible view logic, and gradle build logic (#113) Jan 22, 2018
gulpfile.js Use gulp plugins to bump gradle (#166) May 18, 2018
index.js Add version to exports Jan 11, 2018
package.json 3.5.0 Apr 17, 2019
settings.gradle Added UiAutomator2 Basic Server Components May 17, 2016

Codacy Badge Build Status Greenkeeper badge


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/

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/

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

Other Sections:

You can’t perform that action at this time.