3.14.13. Overwriting data for Test Cases and Test Suites
Prev | 3.14. Working with test data | Next

### 3.14.13. Overwriting data for Test Cases and Test Suites

When you reuse Test Cases, you reuse them with any concrete values they contain, and with any default values that you have entered for their referenced parameters.

Data which has been entered for referenced parameters can be overwritten when you reuse a Test Case.

Reusing Test Cases happens in two ways:

- by adding the Test Case to another Test Case (Section 3.10.4, “Adding items to editors”). The Test Case is then nested in the Test Case.

- by adding the Test Case to a Test Suite (Section 3.10.4, “Adding items to editors”). The Test Case is then nested in the Test Suite.

1. Single-click the reused Test Case in the editor for the Test Case or Test Suite where you have reused it.

2. In the Properties View, you can see the parameters you referenced from in this Test Case. The data source for this Test Case is shown as referenced Test Case to denote that the data have not been changed after reusing the Test Case.

   | A grey diamond next to the parameter value field means that the values in it were entered in the original specification of the Test Case.

3. You can enter parameter values here or reference the parameters again. They would then become parameters of the parent Test Case.

   | If you enter values here, you can see a yellow diamond next to the parameter value field. This means that the original data have been overwritten. The data source changes to local Test Case

   If you add references here, you will be able to enter or overwrite data when you reuse the parent Test Case.

   | Once you change the parameter values of a reused Test Case, any changes to the parameters in the original specification of that Test Case will not affect your new values. You can reset any local changes to the data of the Test Case by removing all Excel files or Central Test Data Sets and then selecting Referenced Test Case from the data source combo box.