Test Lab module helps user in pulling the test cases from the test plan to test lab. The user can execute the test case on the application designated and the results can be updated in this module.
This is a series of articles on Test Lab module in Quality Center. In this series we’ll see how to create test sets, how to load test scripts from test pan to test lab, how to manually run those scripts and how to run those scripts using automated tools provided by HP. (You can click on the images below to see them in full size)
How to create Test Sets and load test scripts from Test plan module to test lab module?
[Pre-requisites: All the test scripts should already be uploaded to the test plan module]
Creating a new test set
Click on the Test lab icon on the main menu bar. It will open the Test lab module as shown below. Right click on the concerned folder in the Test lab tree and click on New Test Set as shown below.
A pop up window appears as shown. Fill in the “Test Set Name” and click on Ok button.
Another pop up window appears. Provide the description.
A new Test set will be created under the selected folder as shown below
Moving Test scripts to Test lab from Test plan
Select the test set created and right click.We can look into an option “Select Tests”. Click on the option.
Multiple test cases can be pulled from the test plan tree to the test set as shown below. Select the folder which needs to be pulled. A pop up appears to confirm the test case pulling from Test plan tree. Click on Yes and all the test cases will be moved to the test set.
Running Test Scripts manually
We will now see how to execute test scripts from the test lab.
Any number of attachments can be uploaded (might be snap shot, doc, code snippet, errors etc) to the step for a particular test case. The maximum size of an attachment would be 5 MB. Once the attachments have been attached, you can close the attachments section.
Click on ‘End Run’ once the status is updated and attachments have been uploaded.
The main QC page opens with the status of the test case changed to Passed.
There are a few criteria’s defined below for the status field of a particular test case.
- If all the steps in the test case pass then we can readily select ‘Pass All’. This updates all the steps of a test case to Pass.
- If any step in a test case fails because of an issue then we can go into the step and update the status of the step to be ‘Failed’.
- If any step is left as ‘No Run’ in a test case, the test case status will get changed to “Not Completed”.
In the next article we’ll see “How to raise a new defect from inside test lab.”