Creating a test

Tests are part of the core of mabl's functionality. You define these tests by using the mabl Trainer to record clicks, finds, JavaScript steps, variables, and much more. The steps below detail how to get started creating your first test through the mabl trainer.

Defining a new test from the mabl app

  1. Simply find and click the "New Test" button in the left-hand navigation.
  1. If it's your first time creating a test, all you'll be asked for is the URL of the site you're looking to create a test against. Just make sure this is a publicly accessible site so when you run your test in the cloud, mabl can access it.
  2. If you're joining a workspace with some tests already created, it'll be slightly different. Name your test, and give it descriptions or labels if you wish. Then, you can add it to a Plan (where you define properties about how often a test runs and other dependencies). There will also be advanced options, such as adding login flows, data tables, and user-supplied credentials.
  3. A new window will launch with the Chrome browser and Trainer window.
  4. Use your application as you would like mabl to test it.
  5. To add an assertion, click the check icon in the trainer toolbar.
The add assertion is the check icon to the right of the toolbar.

The add assertion is the check icon to the right of the toolbar.

  1. To delete a step, hover over the step and click the "Delete" icon.
  2. You can replay specific steps with the small play icon in the upper toolbar of the trainer.
  3. When your test is complete, click "Save". You will be taken back to the test details page.
Example of a test

Example of a test

Conditionals, Javascript steps, wait steps and more lie in the "+" icon, which opens up a secondary menu of step types you can add, as well as groups of reusable steps called flows.

Conditionals, Javascript steps, wait steps and more lie in the "+" icon, which opens up a secondary menu of step types you can add, as well as groups of reusable steps called flows.

Updated 9 days ago


Creating a test


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.