- Projects
- Test Cases
- Data Sets
- Imports and Exports
- Step Groups
- Test Runs
- Test Plans
- Integrations
- Testsigma Two-way Integration
- Settings
- Manage Users
- Reports & Analytics
- CI/CD Integrations
Manage Data Sets in Test Management by Testsigma
Reuse test data across test cases for broader coverage and consistency.
Test Data Sets let you store reusable data for use across multiple test cases. They reduce manual entry, minimize errors, and help generate diverse test scenarios for better coverage. This article discusses managing Data Sets in Test Management by Testsigma.
Prerequisites
Before you begin, ensure that you have an active account in Test Management by Testsigma.
Interactive Demo
Create a Data Set
- From the left navigation bar, go to Data Sets.
- Click Create in the top right corner. This will open Create a Dataset dialog.
- Enter a Name, an optional Description and click Create Dataset.
-
On the Data Set details page,
- Add distinct variable names in column headers.
- Enter values for each variable.
- Click Add Column for more variables or Add Row for more values.
- The data set is now reusable across test cases.
Create Data Set from Test Case
- From the left navigation bar, go to Test Cases.
- Create or open an existing test case.
- In the Test Case details page, go to the Dataset section and click Create Dataset.
- Enter a Name, an optional Description and click Create Dataset. This will open Create a Data Set dialog.
-
On the Create a Data Set dialog,
- Add distinct variable names in column headers.
- Enter values for each variable.
- Click Add Column for more variables or Add Row for more values.
- Click Link Dataset to add it to the test case.
Add Data Set to Test Case
- From the left navigation bar, go to Test Cases.
- Create or open an existing test case where you want to add the dataset.
- In the Test Case details page, go to the Data Set section and click Add Data Set. This will open the Add Data Set dialog.
-
In the Add Data Set dialog,
- Select a dataset from the list and click Next.
- Select one or more rows (or select all) whose values you want to add into the test case.
- Click Add Data Set.
- The Data Set is added to the test case.
Add Multiple Data Sets to Test Case
Follow the “Add Data Set to Test Case” steps to add the first data set. Repeat to add more. Test Management by Testsigma generates unique test scenarios via Cartesian product (all row combinations across data sets).
For Example, let’s say you have two data sets, Dataset A & Dataset B.
Dataset A
| Name | Age | Country |
|---|---|---|
| Alice | 30 | India |
| Bob | 25 | Japan |
Dataset B
| Plan | Price | Currency |
|---|---|---|
| Pro | 10 | USD |
| Free | 0 | INR |
| Enterprise | 50 | JPY |
Generated Test Scenarios:
| Name | Age | Country | Plan | Price | Currency |
|---|---|---|---|---|---|
| Alice | 30 | India | Pro | 10 | USD |
| Alice | 30 | India | Free | 0 | INR |
| Alice | 30 | India | Enterprise | 50 | JPY |
| Bob | 25 | Japan | Pro | 10 | USD |
| Bob | 25 | Japan | Free | 0 | INR |
| Bob | 25 | Japan | Enterprise | 50 | JPY |
Remove Rows & Columns in a Data Set
- From the left navigation bar, go to Data Sets.
- Open the target data set.
Remove Row
- Hover over the row.
- Click the meatballs menu (⋯) at row start.
- Click Remove Row.
Remove Column
- Hover over the column header.
- Click the meatballs menu (⋯) at column start.
- Click Remove Column.