In this tutorial, we are going to demonstrate the default approval roleroute by creating a test case and routing it for pre-execution approval.
Table of Contents | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
Create Test Case
Open and log in to qTest
Open the Vera Tutorial project
Navigate to Test Design
Create a new Module and name the Module “Samples”
Create a new Test Case and name the Test Case “Tutorial Test Case 1” under the Samples Module
In the Type field, select Manual from the dropdown
In the Description field, type “Add new user”
In the Precondition field (Step 0), type “User logged in as user administrator”
In the Test Step section, click +ADD to add the following steps
Step 1:
In the Step Description field, type “With Admin role navigate to user management”
In the Expected Result field, type “User List is displayed”
Step 2:
In the Step Description field, type “Click Add User”
In the Expected Result field, type “New user form displayed”
Step 3
Save
Route for APproval
Veiw approval route
- approve the test
:
In the Step Description field, type “Enter username, full name, email and password then submit”
In the Expected Result field, type “Record created and capture ID and screenshot”
In the Status field, select Baselined from the dropdown
Click Save
Route Test Case for Approval
Click Route for Approval
Click Proceed to confirm then OK & Refresh
The Vera Approval Route field will contain the message “Approval route request is being processed. Please reload page to update”
Reload the page
The Vera Approval Route field will contain the approval route with approval task links:
Level 1 - Technical Approval
Level 1 - Business Approval
Level 2 - Quality Approval
Approval Test Case (Pre-execution approval)
You will use the accounts you created and added to the Tutorial domain to approve the Test Case.
Level 1 Technical Approval (using the approval task link in qTest)
Select Tutorial Test Case 1
Navigate to the Vera Approval Route section of the test case
View the approval route
Click the Level 1 Technical Approval Task to navigate to Vera
Log in to Vera as tutor_tech (Technical Approver)
View the Test Case detail in Vera
Click Approve
Enter your Password
Click Submit
Technical Approval Task is complete
Logout of Vera
Level 1 Business Approval (using the approval queue)
Log in to Vera as tutor_bus (Business Approver)
The Approval Queue is displayed with pending approval tasks
Search for “Tutorial Test Case 1” in the Record Name field
Click the “Tutorial Test Case 1” record name to view the Test Case detail in Vera
Click Approve
Enter your Password
Click Submit
Level 1 Approval Tasks are complete
Logout of Vera
Level 2 Quality Approval (using the approval queue)
Log in to Vera as tutor_qa (Quality Approver)
The Approval Queue is displayed with pending approval tasks
Search for “Tutorial Test Case 1” in the Record Name field
Click the checkbox on the “Tutorial Test Case 1” record name row to select the Test Case for approval
Click Approve
Enter your Password
Click Submit
Test Case has been approved
Logout of Vera
Info |
---|
Now we can execute our approved test case and approve the test run Execute Test and Approve Test Run (post execution approval) |