Ever wish you could use the mabl agent to update existing tests? Now you can!
When you edit an existing browser test in the mabl Trainer, you can now click on the Generate button to build out new steps from a natural language prompt! Teams can use this functionality to accelerate test maintenance, particularly for updates that involve adding or retraining a set of steps.
This first iteration of editing tests with the mabl agent focuses on adding in new tasks, which can be helpful in the following situations:
- Adding a new workflow to an existing test - expand the scope of your test to include a new workflow, such as validating the post transaction state of a guest checkout experience or inserting a new set of steps to validate filters on results.
- Redoing an updated workflow - if your team made significant updates to an existing workflow, such as making major updates to a form, you could delete the existing validation and generate steps for a new one.
Advanced AI add-on
The mabl agent is available as part of the Advanced AI add-on. Reach out to your customer success manager if you are interested in trying it out.
Try it out
To generate new steps for an existing test, launch the Trainer and play the test up to the point where you want to add changes: … (More actions) > Play through here.
Make sure your app is in the correct state and the Trainer cursor is located in the position where you want to add in new steps. If you are regenerating steps for an existing task, make sure the cursor is located just below the task description step.
To generate new steps, click on the Generate button at the bottom of the Trainer window. Alternatively, go to + (Add steps) > Generate steps.
Describe what your test needs and click on Generate steps. The mabl agent will use this prompt to generate one or more steps.
Learn more
To learn more about the test creation agent, check out the docs: