Using test scenarios

Scenarios provide a way to define data for data-driven testing by using the test parameters. It provides a way to test the application thoroughly by running a test in different environments and validates whether the application performs correctly for different input values.

Add a test scenario

  1. Click on the Scenarios link in the Parameters panel.
  2. A new test page on the useMango™ application website displays test details and contains Scenarios section.
  3. Click on the Scenarios section to view existing test scenarios.
  4. Click on Add Scenario button to add a new scenario and define data for testing.

Import Scenarios

Multiple scenarios are added to the test by using a CSV file. The CSV file header row contains the name of the test parameter for each included column and data defined for multiple scenarios.

Edit a test scenario

  1. On the useMango™ application website, click on the Scenarios section on the test page.
  2. Double click on the scenario name or parameters values to edit the scenario.
  3. Press ENTER or TAB key to save changes.

Delete a test scenario

  1. On the useMango™ application website, click on the Scenarios section on the test page.
  2. Select a scenario to delete by using the checkbox.
  3. Click Delete Scenario to delete a test scenario.

During the test execution, a test scenario is chosen, and the useMango™ application uses the data provided for that scenario as inputs for test execution. The test execution report includes scenario details using which the test was executed.