3.12.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:

  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 .

    \includegraphics[height=2cm]{lightbulb} 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 .

    \includegraphics[height=2cm]{lightbulb} 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 .

    \includegraphics[height=2cm]{lightbulb} 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.

Copyright BREDEX GmbH 2013. Made available under the Eclipse Public License v1.0.