UI automation of an iphone app
-
12-12-2019 - |
質問
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