Automated testing for iPhone [closed]

时间秒杀一切 提交于 2019-11-26 23:26:18
Marc Novakowski

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.

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

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.

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

Square just released their testing framework

http://corner.squareup.com/2011/07/ios-integration-testing.html

Telerik just released an automated testing tool for iOS - http://www.telerik.com/automated-testing-tools/ios-testing/ios-application-testing.aspx

Good luck with trying to automate iOS platform with JS. By the time QA gets proficient with JS, well you wouldn't have to be QA anymore. There is plenty of us out there that are familiar with Selenium which in turns means you know Java to some extent. I have found a way to automate iOS using complete open source with Java Libraries.

I put up a video on it: http://www.vimeo.com/21999946

I will will be putting up more in depth video shortly.

And since its Java it works perfectly with Junit, ANT, Maven in any CI environment.

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

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

Best,

Brian

I blogged about KIF (Keep It Functional), this is the testframework from the company square and it is really good! I use it to test our iPhone app.

More information and an example how to setup the framework

http://dnlkntt.wordpress.com/2011/12/02/iphone-test-automation-using-kif-keep-it-functional/

Have Fun!

There's also Keynote products. They have:

Test Center Enterprise Interactive (App platform, any device with website / app. Internal / external facing apps and websites, manual testing.)

Test Center Enterprise Automation (App platform, any device with website / app. WITH scripting.)

Test Center Developer (App platform, any device with website / app, manual, no scripting.)

Unknown costs involved, you have to call them. But the feature set is very impressive. They have multiple real devices for each handset and you just select which one you use. If they are in use you can book them etc. I think this is the ultimate option for testing any mobile app.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!