Now we will modify the Vera polices to support new business rules.
Sample Business Rules
We will configure Vera to support the following chart.
Sample Requirement: Manual and automated test case approval is based on Type and Regulation (A = Approver) below.
Type | Regulation | Technical | Business | Data Owner | Product Team Member | Product Lead | Quality |
---|---|---|---|---|---|---|---|
Data Migration | N/A | A | A | A | A* | ||
Configuration | None | A (2) | |||||
Configuration | GxP | A | A* | ||||
System | None | A (2) | |||||
System | GxP | A | A | A* | |||
Acceptance | None | A (2) | |||||
Acceptance | GxP | A | A* | ||||
N/A | SOX | A | A* | ||||
N/A | SOX & GxP | A | A | A* | A* | ||
Other | N/A | A** | A** | A*, ** |
*Approve after other approvals are complete
**prevent author approval
Vera Analysis & Design
Based on the above requirement we will need to make the following modifications:
Update qTest Test Cases fields and field values in qTest Project.
Update Test Case Type field value
Add Regulation custom field and add field values
Update the qTest Test Case Record Type data fields in the Records Management Policy in Tutorial Policy Set
Modify the Approval Policy in the Tutorial Policy Set
The new business rules apply to the qTest Test Case and Automated Test Case Record Types. We will need to update the Approval Policy with the following Approval Templates:
Name | Rank | Record Type | Constraints | Level 1 Approvers | Level 2 Approvers | Prevent Author Approval |
---|---|---|---|---|---|---|
Data Migration | qTest Test Case, Automated Test Case | Type = Data Migration | Technical, Business, Data Owner | Quality | false | |
Configuration Test Case | Test Test Case, Automated Test Case | Type = Configuration, Regulation = None OR IsEmpty | Technical, Technical | N/A | false | |
GxP Configuration Test Case | Test Test Case, Automated Test Case | Type = Configuration, Regulation = GxP | false | |||
System Test Case | Test Test Case, Automated Test Case | Type = System, Regulation = None OR IsEmpty | false | |||
GxP System Test Case | Test Test Case, Automated Test Case | Type = System, Regulation = GxP | false | |||
Acceptance Test Case | Test Test Case, Automated Test Case | Type = Acceptance, Regulation = None OR IsEmpty | false | |||
GxP Acceptance Test Case | Test Test Case, Automated Test Case | Type = Acceptance, Regulation = GxP | false | |||
SOX Test Case | Test Test Case, Automated Test Case | Type = SOX | false | |||
SOX & GxP Test Case | Test Test Case, Automated Test Case | Type = SOX & GxP | false | |||
General | 99 | Test Test Case, Automated Test Case | N/A | Technical, Business | Quality | true |
qTest Project Configuration
First we will look at qTest project Field Settings for Test Case.
We need to update the Test Case Type Combo box list values by adding:
Data Migration
Configuration
System
Acceptance
We need to add a new Test Case custom field Regulation Combo box and add the following list values:
None
SOX
GxP
SOX & GxP
Vera Configuration
RMP
AP