0% found this document useful (0 votes)
73 views

Creating Test Plan

The document describes the process of creating test plans, test cases, test sets, and defects in HP Quality Center. It involves creating a test plan structure with folders and subfolders, then adding individual tests. Test steps are defined for each test case. Tests can be grouped into test sets and assigned to cycles. Defects can be logged during test execution and linked to the relevant test cases. The process allows for the organization, execution, and tracking of both manual and automated tests.

Uploaded by

tempname
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
73 views

Creating Test Plan

The document describes the process of creating test plans, test cases, test sets, and defects in HP Quality Center. It involves creating a test plan structure with folders and subfolders, then adding individual tests. Test steps are defined for each test case. Tests can be grouped into test sets and assigned to cycles. Defects can be logged during test execution and linked to the relevant test cases. The process allows for the organization, execution, and tracking of both manual and automated tests.

Uploaded by

tempname
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 16

A) Creating Test Plan and Tests The Test Plan module enables to divide the application according to functionality

1) Click the Test Plan button on the sidebar. 2) Select the MMS Test Engineering subject folder and click the New Folder button. The New Folder dialog box opens.

3) In the Folder Name box, type Unique Client ID. Click OK. The new subject folder appears under the MMS Test Engineering subject folder in the test plan tree. In the Description tab in the right pane, type a description of the subject. 4) Select the Unique Client ID folder and create sub folders with name: Regression, Turnover1, Turnover2, Turnover3, Turnover4, Turnover5 5) Client created the tests which he want to do regression testing under Regression folder With name Regression P517 (1.1.2), Regression MRD Export (1.1.2) 6) Regarding test cases that are related to first release are placed in Turnover1 folder 7) Click Turnover1 folder and click the New Test button. The Create New Test dialog box opens.

In the Test Type box, select MANUAL In the Test Name box, type a name for the test: LOADCOMP Screen UI. Click OK. The new test is added to the test plan tree under the Turnover1 subject folder.

8) Add a test description. In the Details tab, you can see the test name, test designer, creation date, test status, and other information. In the Description tab, type a description for the test: The test verifies whether the zip data is loading into company table or not. B) Creating Test Steps A step includes the actions to be performed on your application and the expected results. 1) Click the Design Steps tab. 2) Click the New Step button. The Design Step Editor opens.

In the Step Name box, a step name is displayed. The default name is the sequential number of the test step (Step 1 if you are adding steps to a test for the first time). 3) Define a step for displaying the Loadcomp screen. Step Name: Display the Loadcomp screen. Description: Click the Loadcomp option in PUM. Expected Result: The Loadcomp screen opens.

4) Define a step for loading zip data into the database. In the Design Step Editor, click the New Step button. The Step Name box displays Step 2. Step Name: Loading zip data into the database. Description: Information to load zip data into database. Expected Result: Loadcomp loads zip data into database. 5) Click OK. Design Step Editor will close and Design Steps tab displays the design steps.

C) Copying Test Steps We can copy steps from another test in the same project or from a different project. In this exercise, you will copy the test steps from the Cruise Booking test and paste them into the Cruise Search test. 1) In the test plan tree, expand the Cruises and Cruise Reservation subject folders, and select the Cruise Booking test. Click the Design Steps tab. 2) Position the mouse pointer in the gray sidebar on the left. The mouse pointer changes to an arrow. Press the Shift or Ctrl key and select each step.

3) Click the Copy Steps button.

4) In the test plan tree, expand the Cruises and Cruise Reservation subject folders, and select the Cruise Search test. 5) In the Design Steps tab, click the Paste Steps button. The test steps are copied to the Design Steps tab. D) Defining Test Sets in Test Lab After creating tests in the Test Plan module, we will create test sets in Test Lab module. Each test set folder assigns to a cycle. This enables you to group together test sets that will be run during the same cycle and analyze the progress of the cycle as you run your tests. Test set can be created for a Sanity, Regression or Functional 1) Click the Test Lab button on the sidebar. Choose View > Test Sets Tree to display test sets in the test sets tree. 2) In the test sets tree in the left pane, select the Root folder. Click the New Folder button. The New Folder dialog box opens.

In the Folder Name box, type MMS Test Engineering and click OK. 3) Select the MMS Test Engineering folder you created folder Unique Client ID and repeat the previous step to create two subfolders, named Regression_Unique Client ID, and System_Unique Client ID.

4) In the test sets tree, select System_Unique Client ID. Click the New Test Set button. The New Test Set dialog box opens.

Type the following: Test Set Name: LOADCOMP Functionality Description: This test set includes tests that verify the functionality of the LOADCOMP. Click OK. The LOADCOMP test set is added to the test sets tree in the left pane. Test Set Name: FTD Country code and expand lenght Test Set Name: Company Entry UI Test Set Name: Company Add UI E) Adding Tests to a Test Set 1) Select the LOADCOMP Functionality test set. Click the Execution Grid tab. 2) Display the test plan tree if it is not already displayed. Click the Select Tests button. The right pane displays the test plan tree.

3) In the test plan tree, select the File To Diskette test and click the Add Tests to Test Set button. Click Yes to confirm. The tests are added to the execution grid. F) Running Tests Manually 1) Select the FTD Country code and expand length test set. 2) In the Execution Grid tab, select FTD Country code and expand length. Click the Run button. The Manual Runner dialog box opens.

3) Click the Begin Run button. The Manual Runner: Step Details dialog box opens.

4) Click the Compact view button results.

. This enables you to read each step and record the

5) Perform the procedure described in the Description box. If the actual result is the same as the expected result, in the Actual box, type: The Mercury Tours site opens. Click the Pass Selected button . Step 2 is displayed.

6) If the actual result is different than the expected result, in the Actual box, type: Error description. Click the Fail Selected button . to open the New

And to raise defect for this failure, click the New Defect button Defect dialog box and add a defect. 6) Once all steps are completed, click the Back to Steps Grid button of the Manual Runner: Step Details dialog box is displayed. 7) Click the End Run button to end your test run.

. The default display

8) In the Execution Grid tab, select another test to and click the Run button. The Manual Runner opens. 9) Following the execution of tests, we can view the test run results of your last run in the Execution Grid. Result can be Passed, No Run or Failed

10) To view step status, select the Cruise Booking test, click the Show button on the bottom of the pane. The Last Run Result pane is displayed below the Execution Grid.

Click each step to view its description, as well as the expected and actual results. G) Adding and Tracking Defects When you submit a defect to a Quality Center project, it is tracked through these stages: New, Open, Fixed, and Closed. A defect may also be Rejected or it may be Reopened after it is fixed.

1) Click the Defects button on the sidebar. The Defects Grid displays defect data in a grid. Each row in the grid displays a separate defect record. 2) Click the New Defect button. The New Defect dialog box opens

3) Determine the cycle in which the defect was detected. In the Detected in Cycle box, click the browse button. The releases tree opens. Expand the tree. In the Service Packs releases folder, in the Service Pack 1 release, select the Cycle 1 - New Features cycle. 4) Click the Submit button. The defect is added to the Defects Grid. 5) Click Close to Close the New Defect dialog box. H) Updating Defects In the Defects Grid, select the defect, Click the Defect Details button. The Defect Details dialog box opens.

I) Linking Defects to Tests 1) In the test plan tree, under Cruises, expand Cruise Reservation and select the Cruise Booking test. Click the Linked Defects tab. 2) In the Linked Defects tab, click the Link Existing Defect arrow and choose Select. The Defects to Link dialog box opens.

3) Select the defect and click the Link button. Your defect is added to the Linked Defects grid. J) View the linked test in the Defects Grid. 1) 2) 3) 4) Click the Defects button on the sidebar. Select your defect in the Defects Grid, and click the Defect Details button. The Defect Details dialog box opens. Click Linked Entities in the sidebar, and select the Others tab. You can see that the Cruise Booking test is linked to your defect. 5) Click OK to close the Defect Details dialog box.

You might also like