This article explains how to add and edit steps for a mobile or browser test in the mabl Trainer, including how to:
- Record steps
- Add steps from the Trainer window
- Edit steps
- Edit steps in bulk
- Rearrange steps
- Rename steps
- Annotate steps
- Undo and redo actions
How to record steps
Turn on the Record button and interact with the application. The Trainer cursor (... Waiting for input) indicates where new steps are recorded. As you train your user journey, the Trainer automatically records your interactions with the application.
For more information on the recorded interactions by test type, see the following articles:
- Interacting with your web application in the mabl Trainer
- Interacting with your mobile application in the mabl Trainer
To take a break from recording steps in a training session, turn off the record button.
Training steps for a mobile app
How to add steps from the Trainer window
In addition to interacting with the app directly, you can add steps from the Trainer window.
Trainer step options include:
Click on the plus sign to add the following steps:
- Conditionals
- JavaScript or Appium snippets
- Wait steps
- MFA authenticator code
- Flows
- Echo steps
- Mabl Mailbox steps
- API steps
Browser tests only:
Mobile tests only:
Use the search bar to search for a specific type of step. You can navigate the step menu using the [TAB] key to select the next option and the [ENTER] or space key to confirm your choice.
To add steps at a specific part of the test, drag the Trainer cursor to the point where you want to add new steps
How to edit steps
To edit a specific step, hover over the step and click on the pencil icon.
For additional editing options, hover over the step and click on …(More actions).
How to edit steps in bulk
The mabl Trainer supports the following bulk actions for mobile tests:
- Disabling and enabling steps
- Create flow from existing steps
- Delete step
- Change assertions' behavior on failure - visible when one of the selected steps is an assertion
To edit steps in bulk, hover over a step's number and click on the checkbox that appears. When you start to select steps, a bulk actions menu appears at the top of the Trainer window.
To select a consecutive range of steps, click on the checkbox for the first step in the range you want to select, hold shift, and click on the checkbox of the last step in the range you want to select.
Selecting steps in bulk to create a flow
How to rearrange steps
To move test steps, click and drag them to their new position in the test.
How to rename steps
To rename a step, double click on the step in the Trainer window. Enter a new name for the step and press [ENTER].
How to annotate steps
If you want to give more context for a specific step, you can add a step note. Step notes appear below the step on the test details page and the test output page.
To add a note to a specific step, hover over the step and click on More Actions (...) > Annotate. Write a description and click OK.
How to undo and redo actions
To undo or redo the latest change(s) to test steps, use the undo and redo buttons at the top of the Trainer window: