Generating an Excel scenario file

To use the Excel format for your scenario files, you generate a scenario file that contains the columns that you want, but no data.

About this task

The columns correspond to:
  • The business terms required in the Scenarios sheet and any data entry sheets

  • Any tests that you want to include in the Expected Results sheet

  • Any tests that you want to include in the Expected Execution Details sheet

When you specify which tests to include as Expected Results and Expected Execution Details, you select the element and the operator, for example the age of the customer and is greater than. You can add another test on the same element by clicking the plus sign on the corresponding row,

If you do not select any tests, the scenario file contains only the sheets required for the scenarios, which is the case when running simulations.

Procedure

To generate an Excel scenario file:

  1. In Step 3: Scenarios of the test suite or simulation, select the Excel (2007–2010) or Excel (2007–2010) Tabbed format if it is available.

    The Excel (2007–2010) Tabbed format allows for data entry sheets, as described in Excel scenario files, assuming that the rules allow for this.

    Note:

    Alternatively, if you are not using the Excel Tabbed format, click Analyze > Generate Scenario File Template to generate the scenario file on all the rules in the current project.

  2. Click Generate template to generate the scenario file based on the rules specified in Step 2: Rules tested.
  3. In the Expected Values section, select the columns that you want to include in the Expected Results and Expected Execution Details sheets if you want to include tests in the scenario file.
  4. Click Generate.

    Decision Center generates the scenario file.

  5. Click template.xls and save the file to your disk.

Results

You can now populate the Excel file with scenario data and then upload it to Decision Center.