Record iOS / Android application user tests

119 Views Asked by At

I would like to know if there is any way to record gestures (more generally touch and keyboard events) performed by a user over an arbitrary application.

Idea is to launch an app to test, then record input events. The app to be tested could potentially be any app from the app store / google play.

I have seen that question but would like to confirm the answer (and also for Android): iOS - Can an app running in the background send touch / gesture events to another app in the foreground?

2

There are 2 best solutions below

1
On

No, it is not possible, for security reasons. This would make writing keylisteners, and other 'hacker' apps possible.

3
On

yes you can do it for more information, Please have look of the Gorilla logic`s monkey talk SKD for both platform.

Now i will come to iOS, Apple provides framework for UI testing using automation so for that you can check Usingthe Automation Instrument official link from apple.

you can find good tutorial at iOS automated tests with UIAutomation