Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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
minLevel1
maxLevel6
outlinefalse
typelist
printablefalse

...

  1. Open and log in to qTest

  2. Open the Test Vera Tutorial project

  3. Click the icon for adding a new test case

    Image Removed
  4. In the Name field, delete “untitled” and type Navigate to Test Design

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

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

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

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

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

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

    1. Step 1:

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

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

    2. Step 2:

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

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

    3. Step 3:

      1. In the description field, type “Add profile picture”

      2. In the expected result field, type “image displayed”

      Step 4:

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

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

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

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

Level 1 Technical Approval (using the approval task link in qTest)

  1. Select Tutorial Test Case 1

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

  3. View the approval route

  4. Select Click the Level 1 Technical Approval Task

...

  1. to navigate to Vera

  2. Log in to Vera as tutor_tech

...

Level 1 Approval

...

  1. (Technical Approver)

  2. View the Test Case detail in Vera

  3. Click Approve

  4. Enter your Password

  5. Click Submit

...

Test Case has been approved

...

  1. Technical Approval Task is complete

  2. Logout of Vera

Level 1 Business Approval (using the approval queue)

  1. Log in to Vera as

...

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

...

Test Case has been approved

  1. Level 1 Approval Tasks are complete

  2. 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)