Sensor testing
Sensor testing allows testers to simulate real-world input from mobile device sensors, such as camera, microphone, and fingerprint readers, to validate application behavior under controlled conditions. This approach is essential for automating scenarios that would otherwise require physical interaction with the device.
Sensor testing is supported across manual, AI Scriptless, and automation testing and includes:
-
Audio testing: Simulates playback and recording scenarios for audio streams
-
Biometric injection: Simulates fingerprint or face ID
-
Media injection: Simulates camera input
-
Audio injection: Simulates microphone input (part of audio testing)
-
Location injection: Sets GPS location (not to be confused with IP geolocation testing)
General requirements
For sensor injection, the app must be installed with sensor instrumentation enabled.
General limitations
The following limitations apply to all sensor testing methods:
-
Only one instrumented app can be active at a time
-
The app must remain in the foreground and actively request sensor input
-
Sensor injection does not simulate OS-level behavior