In our last two blogs we explained how to create test cases and test plans with test packages and test sequences in the Solution Manager. In this blog we will discuss the execution of the test cases and the creation of defects.
HOW IS A MANUAL TEST CASE EXECUTED?
Before a test can start, the status in the test plan has to be set to “released for testing”.
To execute a test case, you navigate to My Tasks – Tester Worklist inside the Test Suite. On the newly opened page you can select the test package in which you want to test and the test document to be tested. The test case can be opened via Run.
If a test document has been opened, it can be started by clicking the Start Test Execution button. If a document (e. g. Word document) has been attached to the test document, it can be opened using the Display Test Case button. Before you can save a test document, the execution status must be changed and if a test has been completed, this can be marked with the checkbox Test finished. After finishing the test, the input fields are disabled.
HOW CAN AUTOMATED TEST CASES BE EXECUTED?
If a test configuration has been added to a test plan, it is listed under My Tasks – Tester Worklist.
If you click on the Run button the test configuration is executed. This means that the process that was recorded inside the test configuration and on it’s test script are running automatically. After Run has been clicked, the’ Start Options’ screen opens in which the data of the system role, data container and target system are defined. Click on Execute to start the test.
Further, there is the option to plan when the system should execute automatic test cases. The execution of automatic test cases can be scheduled for Test Plans under Automatic Test → Schedule Execution. In the following window you have to enter a job name and select execution mode foreground and click on Next. Now you only have to specify the date and time when the test cases should be run.
Note: In Solution Manager, there is the option of Email Notifications, which informs the testers about the status of the execution of their automatic test cases.
HOW CAN A DEFECT BE CREATED?
If a test was started and errors were found, you can create a defect in the Test Execution window under Errors or in the Test Case Overview of the Tester Worklist. In the Test Case Overview, select the corresponding test case and choose Create from the defect dropdown list.
The second way to create defects is to open and execute a test document with Run. The defect can be created directly in the window via the toolbar in the lower part of the window. To do this, click on the Error tab and an overview of the defects will open. The Create button can be used to create a new defect and the Assign button can be used to assign an existing defect to the test document.
If a new defect is created, an incident form will open and must be filled in.
After clicking OK, the defect is created. If you now click on the link in the My Defects column of the testers’ worklist for the corresponding test case, you are taken to the Defects Overview.
Now that we have explained the execution of tests and the creation of defects, we will come back to the creation of automatic test cases in our next blog.