Have been taking a look at the iPhoneDriver component for WebDriver/Selenium 2.0 (which connects to a UIWebView instance on the iPhone).

Some of the observations I’ve noted if you wish to go down that path:

  • The framework is pretty easy to set up
  • You will need the iPhone SDK and to be a registered iPhone developer (so you can create provisioning profiles for on device testing)
  • You need an iPhone for on device testing (duh). Haven’t tried on the simulator but the documentation says it works.
  • The framework is Java based so you can data drive your tests (i.e. Using JDBC to connect to a database)
  • You could use JUnit and probably cruise control and set up some sort of continuous build integration
  • WebDriver is loosely based on selenium by the looks of the API. The script appears not to need too much modification in order for it to work
Bookmark and Share