Using test datasets

Datasets 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 dataset

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

Import datasets

Multiple datasets 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 datasets.

Edit a test dataset

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

Delete a test dataset

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

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