开发者

iOS: Writing a script that runs through an app's UI programmatically

I've been trying to use the FoneMonkey framework for automation, but it's been having issues with UIGestureRecogizer objects. There are buttons tied to those UIGestureRecognizer objects, and this block is making me unable to switch between views. Thus, I would like to write a short script that programmatically triggers those objects, causing the app to change views.

I'开发者_JAVA技巧m not sure if it's possible to mix regular code with FoneMonkey commands, but let's assume that it's feasible. How would I go about writing an app/program/script that traverses different views for an iPhone app? Is it even feasible without using UI Automation or some other framework?


if your gestures are standard gestures like pitch, soon, swipe (left, right, top, bottom), then Latest version of the MonkeyTalk has some support, take a look at the following url.

http://www.gorillalogic.com/monkeytalk-documentation/monkeytalk-language-reference/command-reference

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜