If your mobile application is not a native mobile application, you might need to use some language independent testing framework such as Selenium.

Below shows how to set up this framework:

          – Right click on the test folder you created
          – Go to Build Path -> Configure Build Path
          – Click on the Libraries tab and click on Add External JARs
          – Select the selenium-server-standalone.jar file
  • The code for my project can be found in https://github.com/ChuanChuanLaw
  • Run the iPhone web driver and run the test via clicking on the Run button in Eclipse
  • Select iPad emulator if you want to run tests in iPad