Create test case and approve (pre-execution approval)
To create a test case and route it for pre-execution approval, follow these steps:
Create test case
To create a test case, follow these steps:
-
Sign in to qTest.
-
Open the Vera Tutorial project.
-
Navigate to Test Design.
-
Create a new module and name it
Samples. -
In the module Samples, create a new test case and name it :
Tutorial Test Case 1. -
Select Manual from the Type downdrop.
-
Enter
Add new userin the Description field. -
Enter
User signed in as a user administratorin the Precondition filed. -
In the Test Step section, select +Add and enter the following details:
Step 1:
-
With Admin role navigate to user managementin the Step Description field. -
User List is displayedin the Expected Result field.
Step 2:
-
Click Add Userin the Step Description field. -
New user form displayedin the Expected Result field.
Step 3:
-
Enter username, full name, email and password then submitin the Step Description field. -
Record created and capture ID and screenshotin the Expected Result field.
-
-
In the Status field, select Baselined from the dropdown.
-
Click Save.
Route test case for approval
To route the test case for approval, follow these steps:
-
Select Route for Approval.
-
Select Proceed to confirm and then click OK & Refresh.
The Vera Approval Route field will contain the message: Approval route request is being processed.
-
Reload the page to update.
The Vera Approval Route field will contain the approval route with approval task links.
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)
For level 1 Technical Approval, follow these steps:
-
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.
-
Sign 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.
-
Sign out of Vera.
Level 1 Business Approval (using the approval queue)
For level 1 Business Approval, follow these steps:
-
Sign in to Vera as
tutor_bus (Business Approver). -
The Approval Queue is displayed with pending approval tasks.
-
Search and select
Tutorial Test Case 1in the Record Name field to view the test case detail in Vera. -
Click Approve.
-
Enter your Password.
-
Click Submit.
Level 1 Approval Tasks are complete.
-
Sign out of Vera.
Level 2 Quality Approval (using the approval queue)
For level 2 Quality Approval, follow these steps:
-
Sign to Vera as
tutor_qa (Quality Approver). -
The Approval Queue is displayed with pending approval tasks.
-
Search and select Tutorial Test Case 1 in the Record Name field to select the test case for approval.
-
Click Approve.
-
Enter your Password.
-
Click Submit.
Test Case has been approved.
-
Sign out of Vera.
Now we can execute our approved test case and approve the test run (post -execution aprroval).