Create Test Case and approve (pre-execution approval)

In this tutorial, we are going to demonstrate the default approval route by creating a test case and routing it for pre-execution approval.

Create Test Case

  1. Open and log in to qTest

  2. Open the Vera Tutorial project

  3. Navigate to Test Design

  4. Create a new Module and name the Module “Samples”

  5. Create a new Test Case and name the Test Case “Tutorial Test Case 1” under the Samples Module

  6. In the Type field, select Manual from the dropdown

  7. In the Description field, type “Add new user”

  8. In the Precondition field (Step 0), type “User logged in as user administrator”

  9. In the Test Step section, click +ADD to add the following steps

    1. Step 1:

      1. In the Step Description field, type “With Admin role navigate to user management”

      2. In the Expected Result field, type “User List is displayed”

    2. Step 2:

      1. In the Step Description field, type “Click Add User”

      2. In the Expected Result field, type “New user form displayed”

    3. Step 3:

      1. In the Step Description field, type “Enter username, full name, email and password then submit”

      2. In the Expected Result field, type “Record created and capture ID and screenshot”

  10. In the Status field, select Baselined from the dropdown

  11. Click Save

Route Test Case for Approval

  1. Click Route for Approval

  2. Click Proceed to confirm then OK & Refresh

  3. The Vera Approval Route field will contain the message “Approval route request is being processed. Please reload page to update”

  4. Reload the page

  5. 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.

  1. Select Tutorial Test Case 1

  2. Navigate to the Vera Approval Route section of the test case

  3. View the approval route

  4. Click the Level 1 Technical Approval Task to navigate to Vera

  5. Log in to Vera as tutor_tech (Technical Approver)

  6. View the Test Case detail in Vera

  7. Click Approve

  8. Enter your Password

  9. Click Submit

  10. Technical Approval Task is complete

  11. Logout of Vera

Level 1 Business Approval (using the approval queue)

  1. Log in to Vera as tutor_bus (Business Approver)

  2. The Approval Queue is displayed with pending approval tasks

  3. Search for “Tutorial Test Case 1” in the Record Name field

  4. Click the “Tutorial Test Case 1” record name to view the Test Case detail in Vera

  5. Click Approve

  6. Enter your Password

  7. Click Submit

  8. Level 1 Approval Tasks are complete

  9. 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

Now we can execute our approved test case and approve the test run https://tx3.atlassian.net/wiki/spaces/V20241/pages/546119264