67.2. Adding a background data in DMN-based test scenarios
Follow the procedure below to add and set a background data in DMN-based test scenarios.
Prerequisites
- The DMN-based test scenario template is created for the selected test scenario. For more information about creating DMN-based test scenarios, see 「Creating a test scenario template for DMN-based test scenarios」.
- The individual test scenarios are defined. For more information about defining a test scenario, see 66章Defining a test scenario.
Procedure
- Open the DMN-based test scenarios in the test scenario designer.
- Click the Background tab of the test scenarios designer.
- Select an instance header cell in the GIVEN section to add a background data object field.
- From the Test Tools panel, select the data object.
- Click Insert Data Object.
- Select a property header cell to add a background data object field.
- From the Test Tools panel, select the data object.
- Click Insert Data Object.
- To add more properties to the data object, right-click the property header cell and select Insert column right or Insert column left as required.
- Use the contextual menu to add or remove columns and rows as needed.
- Run the defined test scenarios.