The mabl Trainer automatically records interactions with elements in your mobile application, including elements within WebViews. Read on to learn more about recorded actions and what you can test for mobile apps in the Trainer.
Recorded actions
When the record button is on, the mabl Trainer automatically records your interactions with the mobile application, including:
- Taps
- Long press
- Scrolls and swipes
- Entering text
In addition to recorded actions, you can also add test steps from the Add step menu. See adding and editing steps in the mabl Trainer for more information.
Device toolbar
The device toolbar is located to the right of the virtual device. When the record button is on, you can use the device toolbar to record the following device actions:
- Navigate to the home screen
- Navigate back
- Navigate back to the primary app
- Change the device orientation
- Hide the keyboard if present - Android only*
- Relaunch and initialize app session
*For Android tests, the “dismiss keyboard” action adds a step with a built-in conditional that dismisses the keyboard if it is present.
What you can test
When you launch a mobile application in the mabl Trainer, you are creating a test on a virtual device. You can interact with:
- The application under test
- The mobile device UI
- Other pre-installed apps on the virtual device, such as the default browser app or the app that manages files on the device
- Camera functionality - Android only
For Android devices, you can test camera functionality using the default camera app. Android provides a default emulated camera feed, as shown in the following screenshot:
Default Android emulated camera feed
Additional functionality supported by snippets
If you are comfortable working with JavaScript, you can implement the following interactions using snippet steps:
- Geolocation mocking - set the geo-location of the device
- Configurable long press - configure a long press on a element for a specified duration
- SMS functionality - for testing text messaging and authentication links
Unsupported interactions
During cloud training and test execution, mabl downloads and installs a fresh version of the application under test. The Trainer does not currently support downloading additional applications to the device.
In general, the mabl Trainer cannot test functionality associated with physical device hardware or mobile network services, including:
- Voice calls
- Battery consumption
- CPU utilization
- Memory utilization
If you have a use case involving any of these limitations, please let us know in the mabl Product Portal.