In this tutorial, we are going to demonstrate the default approval role route by creating a test case and routing it for pre-execution approval.
Table of Contents | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
...
Open and log in to qTest
Open the Test Vera Tutorial project
Click the icon for adding a new test case
In the Name field, delete “untitled” and type 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” In the Status field, select Baselined from the dropdownunder 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 ADD to add the following steps
Step 1:
In the description Step Description field, type “With Admin role navigate to user management”
In the expected result Expected Result field, type “User List is displayed”
Step 2:
In the description Step Description field, type “Click Add User”
In the expected result Expected Result field, type “New user form displayed”
Step 3:
In the description field, type “Add profile picture”
In the expected result field, type “image displayed”
Step 4:
In the description Step Description field, type “Enter username, fullnamefull name, email and password then submit”
In the expected result Expected Result field, type “Record created and capture ID”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
Select Click the Level 1 Technical Approval Task
...
to navigate to Vera
Log in to Vera as tutor_tech
...
Level 1 Approval
...
(Technical Approver)
View the Test Case detail in Vera
Click Approve
Enter your Password
Click Submit
...
Test Case has been approved
...
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
...
Test Case has been approved
Level 1 Approval Tasks are complete
Logout of Vera
Level 2 Quality Approval (using the approval queue)
Log in to Vera as < approver role > e.g QualityView the Test Case detail in Veratutor_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) |