Setting up the Android device for Selenium
Testing your web application on the Android emulator will definitely help; however, it is also essential to test the application on a real Android device. While the iOS platform and devices such as iPhone and iPad are limited to Apple, Android on the other hand is an open source platform. Android has been widely adopted by mobile phone and tablet manufacturers, such as Samsung, Motorola, LG, and so on, with up to 56 percent market share (September 2011). There are a number of devices available that are running on Android with multiple form factors.
Setting up the Android server APK on a real device is similar to installing it on a simulator. In this recipe, you will see how to configure and install Android server APK on a real Android device. I have used a Samsung Galaxy Smartphone running on Android 2.3 (Gingerbread) for the following example.
Getting ready
Before setting up the Android device for Selenium to run tests, we need to set up the Android...