Wednesday, June 20, 2012

Mobile Test Automation using Selenium WebDriver

In my free time, I started to write a small java script which will automate mobile applications. I installed Android SDK, AVD for Android mobile emulator. The steps are as follows: 1.Install Eclipse 2.Install SDK, AVD 3.Configure Selenium Web Driver 4.Configure Android server .apk 5.Start Web Driver on Android Emulator 6.Port Forwarding (adb forward tcp:8080 tcp:8080) 7.Execute Java Script It was quite interesting and very challenging compared to web based test automation. As IT industry goes behind mobile technology, it is imperative to study mobile test automation. The challenges are -- There is no generic framework for all mobile devices -- Data Connectivity like Wifi, 3G, 4G,... -- Since mobile automation is at infancy stage, creating end-to-end testing is very challenging -- Technical Expertise. I predict, that there will be a very thin layer between Developers and testers. Obviously, tester will write code just like hard-core developers in near future. Let us wait and see.