2.2.  Executing Tests

2.2.1. Executing Single Test Cases
2.2.2. Executing Test Suites

Now that we have created some test cases and a test suite, we are ready for some testing. Log out of Klaros-Test­management and log in as a tester. This is a more limited account which can execute tests and only data linked to the account.

2.2.1.  Executing Single Test Cases

In this section, we will execute a single test case multiple times with different parameters.

  1. If not already selected, select the Printer project.

  2. Press Execute in the topbar.

  3. The Run Test Case screen should now be shown. This screen displays the available test cases along with an execute icon ( ) for each. The icon is blue if the test case can be executed in Klaros-Test­management, i.e. if Execution is set to Manual, if the test case has at least one step and its State is either Draft or Approved.

    The Run Test Case page

    Figure 2.10.  The Run Test Case page

    Press the icon on the Test if the printer prints at least 10 pages per minute test case

  4. On the next screen, select Average Room Temperature as the Test Environment

    The Run Test Case page

    Figure 2.11.  The Run Test Case page

  5. Select Printer Model 1 as the System Under Test.

  6. Press the Execute button.

  7. A popup will appear (if it doesn't, be sure to disable the popup blocker in your browser or add the Klaros-Test­management address to its exceptions). This is the manual test runner, which guides testers through the testing process. You will see an overview of the test case on the first page of the manual test runner.

    Press the Start button.

    The Test Case Runner

    Figure 2.12.  The Test Case Runner

  8. The manual test runner will now show the first step. Action shows what we as a tester are supposed to do. Let's assume our printer will start printing the test document with no problems, so the first step is passed.

    Press the Passed button.

  9. The second step will now be shown. Mark the rest of the steps as passed.

  10. Now the Test Run overview will be displayed. Since all steps were passed without complication, there is no need to comment or create an issue.

    Press the Finish button.

    The Results Overview in the Manual Test Runner

    Figure 2.13.  The Results Overview in the Manual Test Runner

  11. Press Run Test Case in the sidebar.

  12. Now we will execute the same test case using a different system under test and test environment.

    Press the icon on the Detects empty ink cartridge and the Test if the printer prints at least 10 pages per minute test cases.

  13. On the next screen, select Maximum Operating Temperature as the Test Environment.

  14. Select Printer Model 2 as the System Under Test.

  15. Press the Execute button.

  16. Press the Start button.

  17. Press the Passed button.

  18. Press the Passed button.

  19. Printer Model 2 uses the Model 2 printerheads, which have an overheating problem, so this test step will fail in an environment with a high ambient temperature.

    Press the Failure button.

  20. Enter Too many pause cycles due to overheating in the Summary field.

    These comments will help reproducing the failure.

  21. Press the Finish button.

  22. If you have set up an issue management system, you can create or link an issue from this screen. The process is described in Section 3.6, “Issues”.

  23. Press the Finish button.