Requirements Traceability
DAI's Requirements Traceability feature enables you to import your application requirements, which are typically managed in external systems, into DAI and connect them directly to test cases and results. This integration helps you to ensure that each requirement is thoroughly tested and properly accounted for, providing clear traceability between a requirement and its corresponding test cases and results. You can also generate a requirement coverage report based on your successful tests and view it in DAI.
Licensing the Requirements Traceability Feature
You must purchase a license specifically for the Requirements Traceability feature in order to use it. To obtain this license, please contact our Customer Support.
When you receive the license from Customer Support, navigate to System > Licenses and enter it as described in Adding licenses on the DAI License page.
Importing Requirements
Before you can assign requirements to a specific test case's steps, you must import the requirements to a requirement group within DAI.
To import requirements, follow these steps:
- Log in to Eggplant DAI.
- Go to Controller > Requirements. The Requirements page opens showing a list of existing requirement IDs in a specific requirement group.
- Click Import requirements. This action opens the Import requirements page where you can begin the process of importing your requirements.
-
Select a file to import. You can either click the Browse files button to search for the file or drag and drop it directly from your computer folders.
ノート-
The supported file types for import are xlsx and csv. Ensure the file is formatted correctly before uploading to avoid data mapping issues.
-
The file can contain a maximum of 10,000 rows, 10 MB in size, and only plain text (alphanumeric characters and these special characters: underscore (_), period (.), dash (-), and comma (,)) for the requirement ID fields.
-
Only upload one file at a time.
-
-
Select the requirement ID and Description columns.
At this step, you need to select a column for requirement ID and requirement description. To do this, hover over the respective column in the preview and click the Select button.
After you select both the requirement ID and Description columns, click the Next button to proceed to the next step.
-
Assign the imported requirements to a group. There are two options available: Select an existing group or Create a new group.
ImportantImporting requirements into an existing group replaces the current requirements in the group, which may update or delete them. This deletion also permanently removes traceability to associated tests.
- After you select the requirement group, click the Import requirements button in the bottom right corner of the page to import the requirements.
If you chose to import your requirements into an existing group, you will be prompted to confirm your selection because of the possibility of overwriting the existing requirements as described above.
Import Requirement Status
DAI assigns one of three statuses to imported requirements: Success, Imported with warning message, or Failure. A description of each status follows:
-
Success: Your requirements imported successfully.
-
Imported with warning message: Your requirements imported successfully, but some rows with invalid entries were filtered, and you see a warning message notifying you about it.
-
Failure: Your requirements import failed. You see an error message (like the "Missing requirement descriptions" message shown below), your requirements are not imported, and you are returned to step 3 in the import process. You may need to make adjustments to the requirements file that you previously imported in step 1 before re-importing.
Requirements Table
After you import the requirements, you can view them in the Controller > Requirements page. This page provides a clear and organized view of all the requirements in the system, as well as the associated test cases and steps at a glance.
If you find a mistake in the imported requirements, you can always correct it by re-importing the requirements.
Make sure you are not changing the requirement ID or you will lose all the test case steps assigned to the respective requirement.
The Last Updated date, located in the upper-right corner of the table, is the date the requirements were last imported. This date is based on the requirements import, not the assignment of requirements nor the test result status.