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
- Click on the Datasets link in the Parameters panel.
- A new test page on the useMango™ application website displays test details and contains Datasets section.
- Click on the Datasets section to view existing test datasets.
- 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
- On the useMango™ application website, click on the Datasets section on the test page.
- Double click on the dataset name or parameters values to edit the dataset.
- Press ENTER or TAB key to save changes.
Delete a test dataset
- On the useMango™ application website, click on the Datasets section on the test page.
- Select a dataset to delete by using the checkbox.
- 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.