Re: anybody using applescript for iphone app testing
I really have no idea, but I'm interested in knowing how people script their iPhones even though I'm not currently working on any iPhone projects. Does the iPhone support any scripting languages?
iPhone doesn't seem to have universal access which allows applescripting the way OS X has it. So i'm really at a lost to how one can automate the iPhone.
Off the top of my head, only thing I can think of is maybe using a visual tool like Redstones's VNC based image recognition or other image based automation tool to automate an iPhone simulator visually.
Re: anybody using applescript for iphone app testi
The iPhone is very restrictive about what can be run on it. In particular you can only run one application at a time. This means you can't normally run scripts or a VNC server while the application you want to test is running. However, it seems that someone has created a VNC server than can run on a "jailbroken" iPhone (one that has been hacked to allow installing software not officially approved by Apple). If you're adventurous, there's an article about it here. I haven't tried it, but running this VNC server should allow you to use Eggplant to automate tests of software running on the iPhone.
Without the VNC server on the iPhone, you could use Eggplant to automate tests of software running in the iPhone emulator on a Mac, but not on the phone itself. In either case, you'll be somewhat limited by not being able to do multi-touch gestures. But basic taps and keystrokes should work fine.