Create test case and approve (pre-execution approval)

To create a test case and route it for pre-execution approval, follow these steps:

  1. Create test case

  2. Route test case for approval

  3. Approval test case (pre-execution approval)

Create test case

To create a test case, follow these steps:

  1. Sign in to qTest.

  2. Open the Vera Tutorial project.

  3. Navigate to Test Design.

  4. Create a new module and name it Samples.

  5. In the module Samples, create a new test case and name it :Tutorial Test Case 1.

  6. Select Manual from the Type downdrop.

  7. Enter Add new user in the Description field.

  8. Enter User signed in as a user administrator in the Precondition filed.

  9. In the Test Step section, select +Add and enter the following details:

    Step 1:

    • With Admin role navigate to user management in the Step Description field.

    • User List is displayed in the Expected Result field.

    Step 2:

    • Click Add User in the Step Description field.

    • New user form displayed in the Expected Result field.

    Step 3:

    • Enter username, full name, email and password then submit in the Step Description field.

    • Record created and capture ID and screenshot in the Expected Result field.

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

  11. Click Save.

Route test case for approval

To route the test case for approval, follow these steps:

  1. Select Route for Approval.

  2. Select Proceed to confirm and then click OK & Refresh.

    The Vera Approval Route field will contain the message: Approval route request is being processed.

  3. 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:

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

    Technical Approval Task is complete.

  10. Sign out of Vera.

Level 1 Business Approval (using the approval queue)

For level 1 Business Approval, follow these steps:

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

  2. The Approval Queue is displayed with pending approval tasks.

  3. Search and select Tutorial Test Case 1 in the Record Name field to view the test case detail in Vera.

  4. Click Approve.

  5. Enter your Password.

  6. Click Submit.

    Level 1 Approval Tasks are complete.

  7. Sign out of Vera.

Level 2 Quality Approval (using the approval queue)

For level 2 Quality Approval, follow these steps:

  1. Sign to Vera as tutor_qa (Quality Approver).

  2. The Approval Queue is displayed with pending approval tasks.

  3. Search and select Tutorial Test Case 1 in the Record Name field to select the test case for approval.

  4. Click Approve.

  5. Enter your Password.

  6. Click Submit.

    Test Case has been approved.

  7. Sign out of Vera.

Now we can execute our approved test case and approve the test run (post -execution aprroval).