5-10 min to complete
Prerequisites: mabl Trainer, a Chrome browser extension for creating tests
You will learn
- How to set up your user account and application under test
- How to train your first test and run it in the cloud
- How to view the comprehensive test results
mabl sign up form
In order to create and edit tests, you need to use Google Chrome and the mabl Trainer extension.
You will find a convenient link to the Chrome Store on the dashboard when you first log in:
mabl dashboard first steps guide
After you install the Trainer, you can start training your first test!
mabl dashboard first steps guide after extension is installed
Clear your cookies!
mabl runs in your local browser while it records the test. However, when mabl runs the test, it does so in the cloud in a new browser instance. To ensure the new test runs as expected, make sure your local browser is in the same state and any cookies or caches are cleared.
Before recording any test steps, you'll be reminded to log out of your application and clear your cookies to match the state of the fresh browser instance that will run your test later.
Clear your browser cookies for the application under test.
As soon as you open the trainer, mabl starts live recording interactions with your application in the trainer window that floats on top of your web page.
Using the mabl Trainer Chrome extension.
You can record a basic test by interacting with your app. The mabl Trainer has more advanced capabilities to try later. We do recommend that every test has verifications or assertions that ensure the test run stays on track.
Add an assertion to verify an element is contains some expected text or some other property such as a CSS class or specific href.
add assertion button
For example, a very simple assertion might be that a text string is present.
asserting on a page element
element assertion options
Once you are done training, save the test and close the Trainer to go back to the mabl app where you can trigger a test run in the cloud.
Save your test
Run the new test by clicking Run Test and, after selecting the browsers to use, Run Now. Tests run in the cloud (learn more about how mabl executes tests).
Click Run Test to run the test from the cloud immediately.
Once the test run is started, click on the "Live" link to see detailed logs and other application mabl is capturing during the run.
Access the test run results.
In the test output, you will see detailed logs about every executed test step together with a screenshot, DOM snapshot, HTTP Archive (HAR) file with network request data, Speed index, performance trace and more. With consecutive test runs, mabl will start showing you any detected visual changes as it learns to ignore dynamic page regions such as ad banners.
You completed your first end-to-end test!
In order to fully experience mabl, your next step is to configure an application and at least one environment. From there you can create plans and schedule your test to run automatically.
Set up your environments!
Updated about a month ago