English 中文(简体)
iphone 应用程序的UI UI自动化
原标题:UI automation of an iphone app

我需要将 iPhone 应用程序的 UI 测试自动化, 也就是说, 如果在我的 iPhone 应用程序中, 我有两个与用户名和密码相对应的文本字段, 测试应该自动填入值并按下提交按钮, 但是由于我是 iPhone 程序编程领域的新人, 我并不知道自动测试所需的流程和程序 。

Can anyone please suggest a complete procedure of how to mitigate this problem or point me to some link where I can find some relevant information concerning the problem?
I just need to automate the scenario described above i.e. filling in the details in the two text fields and pressing a submit button automatically.

最佳回答

This should be exactly what you need. It allows automatic filling of textfields and automation of UI https://github.com/square/KIF

here is the blog post introducing it http://corner.squareup.com/2011/07/ios-integration-testing.html

问题回答

如果这是iOS上的网络应用程序,我可以建议使用 < a href="http://code.google.com/p/selenium/wiki/IPhoneDriver" rel= "nofoln noreferr" >iPhoneDriver 。如果不是,这个 < a href=>也许有用。

为iOS UI 测试正在出现若干开放源框架,包括Appium ,Calabash ,,和





相关问题
Selenium not working with Firefox 3.x on linux

I am using selenium-server , selenium rc for UI testing in my application . My dev box is Windows with FireFox 3.5 and every thing is running fine and cool. But when i try to run selenium tests on my ...

Best browser for testing under Safari Mobile on Linux?

I have an iPhone web app I m producing on a Linux machine. What s the best browser I can use to most closely mimic the feature-limited version of Safari present on the iPhone? (It s a "slimmed down" ...

Code Coverage Tools & Visual Studio 2008 Pro

Just wondering what people are using for code coverage tools when using MS Visual Studio 2008 Pro. We are using the built-in MS test project and unit testing tool (the one that come pre-installed ...

Is there any error checking web app cralwers out there?

Wondering if there was some sort of crawler we could use to test and re-test everything when changes are made to the web app so we know some new change didn t error out any existing pages. Or maybe a ...

热门标签