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