Android WebDriver allows to run automated end-to-end tests that ensure your site works correctly when viewed from the Android browser. Android WebDriver supports all core WebDriver APIs, and in addition to that it supports mobile spacific and HTML5 APIs. Android WebDriver models many user interactions such as finger taps, flicks, finger scrolls and long presses. It can rotate the display and interact with HTML5 features such as local storage, session storage and application cache.
We try to stay as close as possible to what the user interaction with the browser is. To do so, Android WebDriver runs the tests against a WebView (rendering component used by the Android browser) configured like the Android browser. To interact with the page Android WebDriver uses native touch and key events. To query the DOM, it uses the JavaScript Atoms libraries.
This link is good to learn how to setup and test Android app using Selenium
http://code.google.com/p/selenium/wiki/AndroidDriver
- Get Started
- Get Involved
- FAQ
- My tests are slow, what can I do?
- The emulator is too slow to start
- Geo location does not work
- ADB does not find the emulator or device
- How to start the HTTP server Jetty
- I get “Page not Available”
- Android fails to load HTTPS pages
- Can’t talk to the emulator or device
- Inconsistent certificates when installing the apk
- Can’t access the Android server from another machine