Edit Variants Externally 

Use

External variant editing allows you to create variants for the test case import parameters in a table calculation program such as Microsoft EXCEL.

Prerequisites

The data is in a text file whose elements are separated by tabs.

Procedure

  1. Export your test case variants using Goto ® Variants ® Export.
  2. If you have not yet created any variants for the test case, you can create a text file containing all test case parameters and their short texts and default values, with Goto ® Variants ® Export defaults. You can define your variants in this text file.

  3. Enter the path and file name in which the file is to be saved in the Copy to local file dialog box.
  4. Edit the file with an external program in the appropriate format.
  5. Save the file as a text file with tab column separators.
  6. Close the file in the external program.
  7. Import the edited file with Goto ® Variants ® Import. You can only choose this function in test case maintenance change mode.
  8. Enter the path and file name in which the file is to be saved in the Read from local file dialog box.
  9. Save the test case.

File format

The data file of the external variant is a text file whose elements are separated by tabs.

The file contains the following columns:

Column

Meaning

[Variant ID]

Variant ID

[Variant text]

Variant short text

&<parameter>

Test case import parameter. <parameter> must be the test case parameter name.

The first row contains the column headers (as in the table).

The second row contains the default parameter values.

The third row contains a note on file use.

From the fourth row you can define variants.