質問

I need to automate the UI testing of an iPhone application, i.e. if in my iPhone application I have two text fields corresponding to username and password the tests should automatically fill in the values and press the submit button, but as I am a newbie in the field of iPhone programming I am not aware of the processes and procedures that are needed to automate this testing.

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

他のヒント

If this is a Web Application on iOS I can suggest Selenium WebDriver utilising the iPhoneDriver. If not, this SO post might help.

There several emerging open source frameworks for iOS UI testing, including Appium, Calabash, Frank, and Zucchini.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top