Page History
Table of Contents | ||
---|---|---|
|
Overview
This section explains how to use the Forced Interactions feature of Xray Test Case Designer.
Forced Interactions are a method to train the model about specific business rules that must always be considered on the generated tests, as long as the required values and outcomes.
With Forced Interactions, system will always make sure these interactions are added to your model output.
When to Use Forced Interactions
If you need Xray Test Case Designer tests to include a particular test for a required business rule, for example:
Requirement: (#2947 – Notify about Certain High Risk Flood Zone Applications)
The business rule that you want to test reads, “if a regular applicant applies for a large loan in a flood zone with 90% LTV, send the notification to the manager.”
In our example, you must have these specific 4 Values included together in a single test:
- Customer status must be Regular
- Loan to value ratio must be 90%
- Loan amount must be Large
- And the property needs to be In a Flood Zone
Go to the Forced Interactions screen under Rules and add your scenario.
How to Use Forced Interactions
UI Steps | ||||||
---|---|---|---|---|---|---|
| ||||||
|
When you create your tests, your forced scenario will appear in a newly generated set of tests.
Info | ||
---|---|---|
| ||
|
Import Forced Interactions
You are able to import forced interactions, that allows you to upload data-driven scenarios. Once you navigate to the screen, you should see the icon on the left side.
Clicking it opens the dialog similar to the model import.
As before, we recommend using the Excel template (you can download it from the link at the top of the dialog) and pasting your scenarios in the table format to the cell D1 (given you have parameter names).