...
- Open the test case in which you want to add test data or edit its existing test data. For instructions on how to open a test case, refer to /wiki/spaces/T2/pages/2681539278 Adding or Editing a Test Case Manually.
- In the test case, under the Parameter columns, for the data you want to parameterize, replace the existing values with a unique value without enclosing in double-quotes.
Click the Test Data button () to open the Test Data explorer.
Click the Edit Data button.
The test case and test data are locked for other users.To add a test case iteration, under the following columns, enter the following details:
TC Iteration: Enter a number for every test case Iteration.
Note: After saving the test data, the values in TC Iteration are automatically numbered from 1, even if you provide any number in TC Iteration.DataSetTag: Enter a unique value for a data set test case iteration. DataSetTag simplifies finding a test case iteration in the test case execution report,
Selection: Enter True to enable the execution for the test case iteration or enter False to disable the execution for the test case iteration. You must enable at least one test case iteration to execute the test case,
Enter the values in their relevant formats for each parameterized data.
Info - Enter $NULL$ in the cell where you want to have a blank value.
You can move and resize the Test Data explorer.
You can import test data for a test case from an excel file and also export it as an excel file.
- If the test case contains tasks, the first row displays the task names. Each task covers its associated parameterized data in the second row.
To add a task iteration within a test case iteration, do the following in the order listed:- Insert a blank row after the test case iteration.
Skip the TC Iteration number, Selection, and DataSetTag.
Enter the values in their associated format for the task parameters only.
Info - The values added for parameters of a task are not duplicated in the same tasks that are present in other test cases.
- You do not need to enter the values for the parameters that are not associated with task iterations as they are not considered in the task iteration executions.
After adding or editing all the required data, click the Save button on the Test Case Editor screen.
Info After saving a test data, to edit test data, click the Edit button to unlock the test data again.
- Click the Test Data button present in the test case editor screen to close the Test Data explorer.
You can now Dry run the test case to verify whether the test data meets the test requirements. For more information, refer to Dry Run a Test Case.
Troubleshooting the Issues in Parameterizing Test Data
...