Automated testing for iPhone [closed]
I know this one is going to be a long-shot, but I thought I'd try. Does anyone know of any automated test anything for the iPhone simulator? I'd love it if there was something like Selenium but for the iPhone simulator. I don't need anything fancy like assertions, just something that can fake out taps on a screen so I can stop abusing my trackpad. :)
Is there a way to send taps or keyevents (like on android over adb) to iOS devices?
iPhone OS 4.0 (just announced) includes a "UIAutomation Instrument" for test automation.
Automated testing
Automate the testing of your application by scripting touch events using the new UIAutomation Instrument.
From: http://developer.apple.com/technologies/iphone/whats-new.html#tools
Here's an article about automated user interface testing for the iPhone that you may find helpful. It's a little kludgy but it probably gets the job done for certain tasks. Note that I haven't yet tried it myself.
Gorilla Logic has just open sourced a true record/playback functional testing tool for the iPhone. It's called FoneMonkey and it's freely available at http://www.gorillalogic.com/fonemonkey.