Importing Test Cases as CSV Files

Learn how to import test cases by uploading an Excel-based CSV file that contains semicolon-separated values.

Prerequisites

You created a DMN diagram.

You created a CSV file:
  • Using semicolon-separated values.

  • According to the following guidelines and allowed values:

Guideline

Example

Lists start and end with square brackets, separated by commas

A list of numbers: [1,2,4,5,11]

The value null must be uppercase

NULL

Complex type's column name is separated with a period [.]

Given that complex type name is "Person": Person.name

Header names are case sensitive

testInput ≠ TestInput

Type names are not case sensitive

DateTime = datetime

Type

Allowed Value (example)

Date

Format: YYYY-MM-DD (2024-12-22)

DateTime

Format: YYYY-MM-DDTHH:mm:SS (2024-12-07T16:30:20)

Time

Numerical value immediately preceeded by letter T with no space inbetween (T16:30:20)

Hierarchy

Separated by > with order from the top to the bottom (Where A is the root element: A>B>C)

Boolean

True or False only

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 Import.

    The Import test cases window opens.

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

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