views:

5118

answers:

8

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. :)

+5  A: 

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.

Marc Novakowski
+1  A: 

Check out UISpec http://code.google.com/p/uispec/

It's BDD testing framework that lets you "drive" the iphone simulator.

Best,

Brian

Brian
A: 

Hi!

See also http://www.froglogic.com/pg?id=NewsEvents&category=111

Regards, Reginald

+2  A: 

Try this:

http://code.google.com/p/uispec/

UISpec is a Behavior Driven Development framework for the iPhone that provides a full automated testing solution that drives the actual iPhone UI. It is modeled after the very popular RSpec for Ruby

krishnakanthc
A: 

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.

Stu Stern
+8  A: 

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

Dave Hunt
+1  A: 

How to use UIAutomation to create iPhone UI tests:

http://answers.oreilly.com/topic/1646-how-to-use-uiautomation-to-create-iphone-ui-tests/