Prevent Author Approval

Vera can be configured to prevent the author from approving qTest Test Cases and qTest Test Runs

Configure Prevent Author Approval in the Approval Policy

Users assigned to the System Administrator roles are able to configure the RMP and Approval Policies and prevent author approval.

The default approval policy does not prevent an author from approving qTest Test Cases or qTest Test Runs. The default value for “Prevent Author Approval” is false; in order to enable this feature, the value of that element should be set to true. See the example below.

{ "Name": "Default qTest Test Case Approval", "Rank": "1", "Record Types": [ "qTest Test Case" ], "Levels": [ { "Name": "Level 1", "Approvers": [ "Technical", "Business" ] }, { "Name": "Level 2", "Approvers": [ "Quality" ] } ], "Constraints": [], "Prevent Author Approval": "true", },

Define Author Field in the Records Management Policy

Vera matches the qTest author with a Vera user based on the username or email listed in a specific field in qTest. The source of this field must also be configured in the records management policy.

The “Author” element has two sub-elements, “Source” and “Field” that define which fields Vera will attempt to match the qTest author with a Vera user. In the recommended configuration, “Source” should be set to a value of “Field” and “Field” should be set to a value of the name of the Author fields in qTest. For instance, if the name of the field in qTest is Author then the value should be “Author”. See example below.

"Fields": [ { "Name": "Author", "Edit Rules": [], "Is Data": true, "Is Unique": false, "Default Value": "", "Format": "", "Reset on Copy": false, "Append on Copy": null, "Displays Signatures For": [], "Displays Route Info For": [] }, ], "Author": { "Source": "Field", "Field": "Author", "Fields": [] } }

The author of a qTest Test Case and Test Run can also be the route owner. Based on the block above, replace Field with Route Owner.

"Author": { "Source": "Route Owner" },

And the author of the qTest Test Run can also be the tester. Based on the block above, replace Field with Actual Tester

Email Notifications

When a qTest Test Case or qTest Test Run is routed for approval, Vera sends email notifications to all eligible approvers based on the current approval tasks. When Vera matches a user in qTest with a Vera user, Vera will not send email notifications to the author, even if they would otherwise be an eligible approver for a record.

Approval Tasks

If prevent author approval is configured for a route, and Vera matches an qTest author with a Vera user, that Vera user is prevented from approving a task; however, they are not prevented from viewing the Vera record. In the event that a qTest author clicks on an approval task link from qTest, they will be able to view a read only copy of the record, but they are prevented from applying their signature. This is made clear to the user by displaying a message in place of the approval tasks.