Recording user actions with tools

I tried searching for a while, but is there a way to record user actions on iphones / iphone simulators for testing using tools? Basically, I want to be able to target the application and record all the input that I entered, and then be able to play / receive data for this. Thanks!

+4
source share
3 answers

There are 2 options in the Tools:

1) Use a user interface recorder tool that will record mouse movements and user clicks and allow them to be played. (Unfortunately, it seems that the phone simulator does not reveal your accessibility elements to the UI recorder).

2) Simulate interaction with Automation tool in javascript using UIA classes - useful for writing interface tests for an application or modeling user interaction. You can read the introduction about using Automation in this blogpost by Alex Vollmer.

+2
source

FoneMonkey is a promising third-party solution, I had it while working on a recent project, and while it was not perfect, it makes it possible to record user actions, play them, etc. Plus it seems open source, so you can extend it yourself if necessary.

There is also the UIAutomation framework in iOS, but I have no direct experience with it.

0
source

As Roger said, you have to use the UIAutomation framework. Apple's documentation should contain you where you need to go. Also, see this .

You must write automation in JavaScript. Annoying, I know, but with enough examples in front of you, you can pick it up in an hour.

0
source

All Articles