Dominik Dary's Blog

Nov 21, 2013 - 2 minute read - mobile test automation mobile webdriver w3c Android selendroid

Mobile webdriver Selendroid

selendroid logo

In this blog post I would like to write again about mobile test automation. In the last months I spent a lot of my time working on a new test automation framework: Selendroid - a mobile WebDriver implementation for native and hybrid Android apps.

Selendroid is an implementation of the Selenium WebDriver JSON Wire protocol, which is about to become a W3C Standard.

Main features of selendroid are:

  • Full compatibility with the JSON Wire Protocol.
  • No modification of app under test required in order to automate it
  • Testing the mobile web using built in Android driver webview app
  • Same concept for automating native or hybrid apps
  • UI elements can be found by different locator types
  • Gestures are supported: Advanced User Interactions API
  • Selendroid can interact with multiple Android devices (emulators or hardware devices) at the same time
  • Existing Emulators are started automatically
  • Selendroid supports hot plugging of hardware devices
  • Full integration as a node into Selenium Grid for scaling and parallel testing
  • Multiple Android target API support (10 to 19)
  • Built in Inspector to simplify test case development.

In Action

I order to keep that example as simple as possible, I have created a [small demo project](Github]( https://github.com/selendroid/demoproject-selendroid) in which the selendroid-test-app is used, the app that we use to verify that selendroid itself works fine.

More Details?

The source is hosted at github: http://github.com/selendroid.

The Documenation is available at http://selendroid.io.

Happy mobile testing!