Lesson 5: Run the test suite execution record

In this lesson, you run the test suite by running the test suite execution record and stepping through the manual test scripts. You will select sequential execution mode and specify that the suite execution stop if any of the test cases do not pass.

About this task

To run the test suite execution record:

Procedure

  1. If you have not already done so, log in as the tester (User ID: tanuj, Password: tanuj).
  2. If you do not have the test suite open, click Construction > Browse > Test Suites.
  3. From the list of test suites, click (Engineering Test Management Tutorial) Regression Test Suite in the Name column.
  4. Click the Test Suite Execution Records section.
  5. Select the test suite execution record that you created in the previous lesson.
  6. Click the Run icon (Run), which is located in the toolbar.
    The Run Test Suite window opens. You should see both of the test cases that you added to the suite, along with the associated test scripts.
  7. If Run this suite in parallel is selected, clear the check box to run the suite in sequential mode.
    Running a suite in sequential mode means that the execution of a test case in the suite depends on the completion, but not necessarily the success, of the previous test case. For example, the Allocate Dividends to a Single Cause test case will not execute until the Dividend Allocation by Percentage test case is complete.
  8. You can also choose to stop the test suite execution if one of the test cases does not pass. In this scenario, we do not want to execute the Allocate Dividends to a Single Cause test case if the Dividend Allocation by Percentage does not pass. Select the Stop suite execution if any test does not pass check box.
  9. Click Run to start the test suite execution.
    The Test Suite Execution Console opens and lists the first test case in the suite.
  10. In the Test Case Progress column, click Start Manual Test.
    The manual test script that is associated with the test case opens.
    Note: When you run a manual test script, you move to a statement and then switch to the application you are testing to complete the action in that statement. In this tutorial, the application is not available, so you can just step through the test script.
  11. The first step in the script tests the login to the JKE Banking application. In our scenario, the user name and password are not valid, and this first step fails. Click the Fail icon (Apply fail).
    The cursor moves to the next step in the manual test.
  12. You cannot test the remaining steps without logging in to the application so you will assign an inconclusive result. To assign the same verdict to the remainder of the steps, click the Apply All icon (Apply all verdict) and select Inconclusive. Click OK.
    An Inconclusive result (Apply inconclusive) is assigned to all remaining steps in the script:

    inconclusive steps

  13. Note that an Execution Failed message is displayed.
  14. Click Close.
    The Test Suite Execution Console opens.
  15. You chose to stop the test suite execution if any test case did not pass, so the next test case in the suite, Allocate Dividends to a Single Cause, is not available in the Test Suite Execution Console.
    You can click Close and show results to view the results for the test suite execution, or you can close the Test Suite Execution Console and review the results later.

Lesson checkpoint

In this lesson, you learned the following:
  • Run a test suite execution record in sequential mode so that the execution of a test case in the suite depends on the completion, but not necessarily the success, of the previous test case.
  • View the results of a test suite execution record when the test fails.

What to do next

In the next lesson, you log in as the test manager and view the results of the test suite execution.