Importing and Exporting Test Cases as JSON Files

Learn how to import and export JSON files from the Test Lab.

Prerequisites

You created a DMN diagram.

Context

To keep test cases when exchanging diagrams between SAP Signavio workspaces or using the test cases in other tools, you can import and export the test cases as JSON files. To import test cases, follow these steps:

Procedure

  1. From the explorer's side panel, select a DMN process.
  2. Choose Start of the navigation pathEdit Next navigation step Test DMN diagramEnd of the navigation path from the explorer menu.

    The Test Lab screen opens.

  3. Choose Import.

    The Import test cases window opens.

  4. Drag and drop a JSON file into the import field. Alternatively, choose click to browse and select a JSON file from your folders.
  5. Choose Import to confirm.

    The test cases are imported and added to the test cases you have already created.

Exporting Test Cases as JSON Files

Prerequisites

You created a DMN diagram and test cases.

Context

Procedure

  1. From the explorer's side panel, select a DMN process.
  2. Choose Start of the navigation pathEdit Next navigation step Test DMN diagramEnd of the navigation path from the explorer menu.

    The Test Lab screen opens.

  3. Choose Export test cases.

    The JSON file is saved to your browser's dowload folder. By default, the file is named after the diagram.