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.
This opens up a Test Plan tree as shown below.
Select the test set and the test cases which needs to be moved to the test lab
All the Test scripts present in the selected Test Set of the Test Plan tree will be moved to the selected Test set in the Test Lab as shown below.
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.
Select the Run button as shown in the screenshot below.
When Run Manually is selected, the manual runner Pop up window will be displayed
The Manual Runner screen will display all the steps in the script.
Select ‘Attach To Step’ from the Attachment dropdown if any attachment is to be uploaded.
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”.
When end run is clicked the status of the test case will be changed as shown below.
In the next article we’ll see “How to raise a new defect from inside test lab.”

















initiative
I have a question for you-is there a way to move the test scripts between one folder to another in test -lab in
Posted by Lina | October 19, 2011, 12:36 amHi,
Really Really So nice and awesome to learn quality center.
Thanks
Posted by Deeds | February 22, 2012, 7:05 amgreat ,
really helpful for quality center learners
thnx
Posted by sreeraghavan | March 26, 2012, 9:20 pmHi,
I have a question, once a test set is pulled to test lab from test plan can we able to edit the actual result/description. Is there any option?
Bcz i had a scenario where a test case consist of more than 50 steps where a particular step was missing after step 35 & it was found out only during execution time. So, we started from first editing the test plan & once again starting the execution from initial stage.
Please clarify.
Thanks,
Vidhya
Posted by vidhya | April 6, 2012, 8:26 pm