What is the best way to do automatic user interface testing on an iPhone?
___ refers to iPhone, as Selenium refers to web applications
There is native SDK support for automatically testing the user interface through UIAutomation:
UIAutomation
http://developer.apple.com/library/ios/#documentation/DeveloperTools/Reference/UIAutomationRef/Introduction/Introduction.html
Write your tests in JavaScript and run them with tools. The link must be running.