0% Complete

Introduction

Before taking this lesson

Make sure you are comfortable with the following lessons:

  • Mabl App Intro
  • Mabl Trainer Intro 

Learning Objectives 🧠

By the end of this you will:

  • Understand how to apply the three basic functions of the mabl trainer to your test cases; Assertions, Variables, and Flows.

Test Case 

Details

Use the following test case to practice on your own, and/or follow along with the video:

  1. Validate presence of ‘Welcome to the mabl sandbox’!
  2. Log in to application
    1. Navigate to login page by clicking ‘simulated login’.
    2. Create credentials via dynamic variables. (Format email as an ‘@gmail.com’, and the password to be 8 characters).
    3. Validate logged-in status.
    4. Make login steps reusable.
  3. Training exercise
    1. Navigate to training tab from left menu, validate correct page.
    2. Click each ‘next button’ until you get to the third.
    3. Validate presence of ‘Assert me!’
    4. Click next, and then finish.
    5. Validate presence of ‘Thanks for creating your first trained test!’.
  4. Log out of application
    1. Go back to simulate login page via left navigation menu.
    2. Click ‘log out’
    3. Ensure logged out state by validating presence of ‘log in’.

Video

Basic Test Case Example:

Highlights

3 Key Highlights:

1. Use assertions purposefully to validate what is supposed to happen after important milestones are passed or actions are performed.

2. Assert against dynamic variables to make sure your assertion matches up with the changing values.

Dynamicvariable_basictest

3. Click and drag the start flow or end flow steps to turn other steps into a Flow. This allows you to be more deliberate about what you are creating for Flows.

Recap

Reflect

What did we learn?

  • How to create a test with the trainer using the three basic functions; Assertions, Variables, and Flows.

Feedback

Was this helpful?

Take this 2 minute survey to let us know how we can make mablU better!