Quick testing tips

Check out these tips and tricks for making the most out of mabl within your app development and delivery workflow.

Team collaboration

It's free and easy to invite your team to test and learn together.

Get mabl test insights delivered to you straight into Slack.

Want to receive certain test insights in Slack? Just choose what notification types you want.

It's easy to share Journey run output details with others. Just export the results to a PDF.

Get a closer look at your Plan run history with a CSV export.

Use Jira? You can report issues from failed Journey runs directly to Jira — details, screenshot and a link to the test output included.

Have a question about mabl? Send an email to support@mabl.com or start an in-app chat. The team is happy to help.

Test creation and maintenance

Use random values during test runs with generated variables.

Try using custom Javascript steps for challenging testing scenarios.

When training your Journeys, use the up and down arrows on your keyboard to quickly navigate between steps.

Be mindful when recording hover steps. Hovers can add extra time to your Journey runs.

Finding an element using CSS selectors is usually faster then using an XPath ID but each approach has its benefits.

Use Flows to reuse a set of common steps across Journeys.

Turn existing Journey steps into reusable Flows to reduce the need for future test maintenance.

Updating steps in a Flow updates all Journeys containing that Flow.

It is best to breakdown complex test case scenarios into smaller sets of steps that run faster in parallel and are easier to debug.

Import existing data in a CSV format to create a data table for data-driven testing scenarios.

Broken links discovered? Share the report with your team to discuss fixing or redirecting those links.

Edit and train journeys in an [incognito window] to always start off with a new session.

No need to add explicit wait steps around file download assertions, unless the download takes longer than the default 30 second download timeout.

Files uploaded to the application when training a Journey are securely stored in your workspace-encrypted storage bucket for later use during Journey executions.

Change the viewport size of your Journeys to test the responsive web design experience.

Specify a mobile user agent in your Plans to identify with the browser as a mobile device during test execution.

When training Journeys on a small viewport (resolution), it is best to open the Trainer inside the Chrome DevTools.

When training responsive web design Journeys be mindful of hover actions which are not available on touch-input mobile devices.

Set and assert against cookies in your Journeys to test a personalized user experience.

Keep test credentials safe and easy to update by using Plan credential variables.

Using Labels is a great way to classify your Flows, Journeys and Plans so you can easily find them later (e.g. smoke vs mobile test cases).

Test execution

Deliver a consistent user experience by testing on different browsers such as Chrome, Firefox and Internet Explorer.

Run smoke and regression tests on deployment using mabl APIs and plugins for Jenkins and Bamboo.

Need to execute tests against local and private network environments behind a firewall? Get the mabl Link Agent setup.

No need to contact your system administrator to test against local environments. Just setup the mabl Link Agent.

Use mabl Link with Docker to start testing against environments on private networks.

Control which Plans execute in response to a CI/CD deployment event by using Labels with the API.

Add logic before or after Journeys execute as part of your CI/CD pipeline with webhooks.

Use the API to rebaseline the visual change models for the application or set a fixed baseline to compare consecutive runs against.

For those times when a test needs to wait just a little longer for the application to respond, add a wait step.

Turn up the load to 10 for your application with the Plan multiplier, which spins up multiple parallel versions of the same Journeys.

The Link Crawler plan is great for discovering broken URLs but sometimes you just want to limit the URLs it visits.

Test results analysis

Create your own reports with real-time data on Plan and Journey runs with BigQuery Export feeds.

Integrate with BigQuery to perform ad-hoc analyses on test results.

Print brief notes about a set of steps in the Journey output with echo steps to remind yourself what a set of steps is all about.

When debugging Journeys with variables, use echo steps.

Wonder why a Journey step fails? Check out the performance timeline data for details.

If a Journey fails intermittently, look for application timing or environment load capacity issues.

If a Journey fails on a hover step, try replacing recorded hover steps with CSS selector hovers.

If a Journey fails to locate a page element that appears present, check if the step includes the right element.

Quick testing tips

Check out these tips and tricks for making the most out of mabl within your app development and delivery workflow.

Suggested Edits are limited on API Reference Pages

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