Selendroid is a test automation framework which drives of the UI of Android native and hybrid applications (apps). Tests are written using the Selenium 2 client API.
Selendroid can be used on emulators and real devices and can be integrated as a node into the Selenium Grid for scaling and parallel testing.
Selendroid can be used on emulators and real devices and can be integrated as a node into the Selenium Grid for scaling and parallel testing.
This documentation specifies how to install and use Selendroid itself. The use of Selendroid requires knowledge about how to use Selenium. The official documentation of the Webdriver client API can be found here and the documentation of the webdriver JSON wire protocol can be found here.
Selendroid is based on the Android instrumentation framework, so only testing one specific app is supported. Like Selenium we offer as well a selendroid standalone jar.
Java sdk (minimum 1.6) is installed and JAVA_HOME is configured
Latest Android-Sdk is installed and ANDROID_HOME is set.
At least one Android virtual device must be existent or an Android hardware device must be plugged in to the computer. For best practices about Android devices please read this section
Selendroid can be used to test already built apps. Those Android apps (apk file) must exists on the machine, where the selendroid server will be started. The reason for this is that a customized selendroid-server for the app under test will be created and both apps (selendroid server and AUT) must be signed with the same certificate in order to be able to install the apks on the device.
When you want to play around with selendroid, you can use our app that we use to verify that actually selendroid works as expected. You can download this app here
Current Comments
10.12.2020 by tongmengli
Error linking to ...
28.05.2020 by Henning Femmer
26.02.2020 by Dirk O. Schweier
28.03.2018 by Daniel
09.12.2017 by Bert