Running same test on multiple data
Data-Driven Testing allows you to execute a single test case multiple times using different inputs. By configuring Dataset Scenarios, you can validate how your application handles various data sets (such as different languages, user inputs, or login credentials) in one go, without needing to duplicate the test structure for every variation.
Click the Run button next to your test case.
Select the App and Device configuration as usual.
In the Datasets section of the run dialog, click on the dataset row (e.g., supportedLanguage) or the arrow icon to open the configuration panel.
In the configuration window, click + Add Scenario to create as many iterations as you need (e.g., Scenario 1, 2, and 3).
For each Scenario, select the specific data row you want to test from your dataset (e.g., Row 1 for Hindi, Row 2 for Tamil, etc.).
Click Done to save the configuration, then click Confirm to start the execution.
Once the test begins, navigate to the Runs History. You can use the Scenario dropdown in the top-right corner to toggle between the results of each specific scenario.
Last updated