3.13.11. Using the Data Sets View to enter data loops and to translate data

The Data Sets View lets you do three things:

You can also create central test data sets for your Project to reuse in Test Cases (Section 3.13.9, “Using central data sets”).

3.13.11.1. Data Sets View: adding multiple data sets to a Test Case

If your Test Case has parameters which have been referenced from the Test Cases and Test Steps it contains, you can enter data sets in the Data Sets View.

This means that the Test Case will loop and be executed for each set of data you enter.

To enter data sets for a Test Case:

  1. Open the Test Case Editor or Test Suite Editor by double-clicking on the Test Case or Test Suite you want to edit in the browser.

  2. In the editor, single-click the Test Case you want to add data to.

  3. In the Data Sets View, make sure the language in the combo box on the right is the right language for your data.

  4. Select ”Add” to add a row.

  5. Enter the values for the parameters in the row.

    You can also add references in the Data Sets View if you want to specify the concrete values for your data sets when you reuse this Test Case.

  6. Use the buttons in the Data Sets View to add more rows, delete rows (if no row is selected, the last row is deleted) and insert rows above the currently selected row.

3.13.11.2. Data Sets View: translating test data

You can add data for other languages supported by your AUT by changing the language in the combo box in the Data Sets View.

You can add supported languages in the Project properties dialog (Section 3.6.3, “Editing the Project and AUT properties”).

The other combo boxes are there to help you see the Data Sets View in different ways. You can see all the data for one parameter, for one data set or for one language.



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