Description
A Domain created for a Project or Project Version is referred to as a template. When you create a Scenario, it creates a copy of the Domain called a Scenario Domain.
You can customize Scenario Domains to generate the exact type of data you want for that Scenario. Unless locked, changes made at the Template level cascade down to the corresponding Scenario Domains. You can lock a Scenario or a Scenario Domain to ensure it is not impacted by changes made at the Template level.
Please note that we recommend using Test Data Cases rather than making most changes at the Scenario level. Cases allow you to change the loop count, add Attributes, and make other changes without modifying the Scenario. This is because Cases modify the Scenario components.
Scenario Domains can be viewed from the Scenario Dashboard, as shown below:
Video Tutorial
Please refer to the following training video for more information about Template and Scenario Domains:
Example
Scenario Domains and Attributes can be managed separately and locked to prevent Template Domain changes from impacting the Scenario's Domains and Attributes.
This example has one Template Domain with 3 Attributes:
- firstName
- lastName
- email
For this example, four scenario domains have been created from the Template Domain. The Scenario Domains have the same Attributes as the Template Domain.
The following changes have occurred for each of the 4 Scenario Domains:
- Scenario Domain 1 - No changes have been made.
- Scenario Domain 2 - A zipCode Attribute has been added.
- Scenario Domain 3 - The email Attribute has been altered and locked.
- Scenario Domain 4 - This Scenario Domain has been locked.
Let's say, for example, that an address Attribute is added to the Template Domain. Locked Attributes and Scenario Domains are not altered when the Template Domain is modified. Locked Scenario Domains will not have the added address Attribute.
- Scenario Domain 1, 2, & 3 - The address Attribute will be added, and all other changes will remain intact.
- Scenario Domain 4 - The address Attribute will not be added because the Scenario Domain is locked.