quality center tutorial

Document Sample
quality center tutorial Powered By Docstoc
					Quality Center
             For QTP Scripts and Documents visit: www.gcreddy.com



    Table of Contents
1  Introduction ............................................................................................................................. 3
 1.1     Overview ......................................................................................................................... 3
 1.2     Revision History ......................................................... Error! Bookmark not defined.4
 1.3     Acronyms List................................................................................................................. 3
2 Using Quality Center .............................................................................................................. 4
 2.1     Adding Requirements ..................................................................................................... 4
   2.1.1     Creating a Requirements Tree Structure ................................................................. 4
 2.2     Adding Test Cases ........................................................................................................ 10
   2.2.1     Creating a Test Plan Tree Structure ...................................................................... 10
   2.2.2     Adding your first Functional/Performance Test Case .......................................... 11
   2.2.3     Adding Additional Functional/Performance Test Cases ...................................... 15
   2.2.4     Adding a Regression Test Case ............................................................................ 15
   2.2.5     Deleting a Test Case ............................................................................................. 15
   2.2.6     Uploading Test Cases from Excel ........................................................................ 15
 2.3     Adding POR Test Sets .................................................................................................. 18
   2.3.1     Creating a Test Lab Tree Structure ....................................................................... 18
   2.3.2     Adding your first Functional/Performance Test Set ............................................. 19
   2.3.3     Adding Additional Functional/Performance/Regression Test Sets ...................... 21
   2.3.4     Deleting a Test Set ................................................................................................ 21
 2.4     Adding Sustaining/Maintenance Project Test Sets ....................................................... 22
   2.4.1     Creating a Test Lab Tree Structure ....................................................................... 22
   2.4.2     Creating a Sustainment Project Test Set ............................................................... 22
 2.5     Executing Test Sets ....................................................................................................... 23
   2.5.1     Executing a Single Test with Manual Runner ...................................................... 23
   2.5.2     Executing a Test Set with Manual Runner ........................................................... 23




                     For Manual Testing Docs visit: www.gcreddy.net                                                                2/23
          For QTP Scripts and Documents visit: www.gcreddy.com
                        Customer Care Quality Center Guidelines

1        Introduction

1.1         Overview

This document will contain the guidelines to be followed by Customer Care QA
while using Quality Center. These guidelines incorporate all BT Standards and
procedures for QC.




1.2         Acronyms List

The following table provides definitions for acronyms used.
      Acronym                                       Description
BLT               Bug Logging and Tracking Tool
BT                Business Technologies
FLAP              Frame Layer Application Protocol.
HTTP              Hypertext Transfer Protocol
POR               Plan of Record
PRD               Products Requirement Document
PSP               Part Based Service Protocol
QAR               Quality Assurance Request
QC                Quality Center
QMI               Queue Message Interface
SDD               System Design Document
SNAC              Simple Network Atomic Communication
SOAP              Simple Object Access Protocol
TAS               Tcl Application Server
TRD               Technical Requirements Document




                For Manual Testing Docs visit: www.gcreddy.net                  3/23
         For QTP Scripts and Documents visit: www.gcreddy.com



Using Quality Center

1.3           Adding Requirements

      1.3.1      Creating a Requirements Tree Structure


      1. Have Brian Barr (sn:BrianBarr01) add your BT project code to QC. This will add the
         BT code to the “Project” drop down menu.

      2. Upon login into QC, requirements are shown in the Document view.

      3. Create new project level requirement:
            a. Enter BT Project Code as the Requirement Name (ex: BT -00000 000-
                DummyProject). The tester is responsible for matching this name with the BT
                project code (see below).
            b. Enter appropriate project priority. P0 – P5.
            c. Select BT project code from the Project drop down. Note: this should match the
                Requirement Name field.
            d. Select SDD as the Req. Type.
            e. Click Ok.
            f. Highlight your new project code and click on the attachment icon to attach the
                SDD at this level.



               BT-86505-145:TEI:Enhanced ID & Verif                         BT Project code added
                                                                            by QC admin




                For Manual Testing Docs visit: www.gcreddy.net                       4/23
                For QTP Scripts and Documents visit: www.gcreddy.com




                                                        Your project requirement is now in the
SDD                                                     requirements tree.
Attachment
.




             4. Create a new child requirement by clicking the “New Child Requirement” button while
                the “BT-00000-000:Dummy Project” project requirement you just created is
                highlighted.




                    a.   Enter “TRD" in Name field
                    b.   Select "BT -00000 000-DummyProject" from the Project drop down menu.
                    c.   Enter appropriate project priority. P0 – P5.
                    d.   Select TRD as the Req. Type.
                    e.   Click Ok.


                     For Manual Testing Docs visit: www.gcreddy.net                         5/23
   For QTP Scripts and Documents visit: www.gcreddy.com




                                           Your “TRD” child requirement is now in the
                                           requirements tree.




5. Create a new child requirement by clicking the “New Child Requirement” button while
   the “TRD” requirement you just created is highlighted.




       a.   Enter “TRD_component_v<x>" in Name field
       b.   Select "BT -00000 000-DummyProject" from the Project drop down menu.
       c.   Enter appropriate project priority. P0 – P5.
       d.   Select TRD as the Req. Type.
       e.   Click Ok.
       f.   Highlight your new project code and click on the attachment icon to attach the
            TRD at this level.




        For Manual Testing Docs visit: www.gcreddy.net                             6/23
                For QTP Scripts and Documents visit: www.gcreddy.com




                                                          Your “TRD component_v<x>” child
                                                          requirement is now in the requirements tree.




TRD
Attachment
.




             6. Create a new child requirement by clicking the “New Child Requirement” button while
                the “TRD component_v<x>” requirement you just created is highlighted.




                    a. Enter proper corresponding requirement from TRD. Ex: “6.3 TEI Transactions”
                       in the Name field.
                    b. Select "BT -00000 000-DummyProject" from the Project drop down menu.
                    c. Enter appropriate project priority. P0 – P5.
                    d. Select TRD as the Req. Type.
                    e. Click OK.
                    f. Repeat previous steps in section 6 for all TRD requirements.




                     For Manual Testing Docs visit: www.gcreddy.net                         7/23
   For QTP Scripts and Documents visit: www.gcreddy.com




                                                 Your X.X server requirement(s) are now in the
                                                 requirements tree.




7. Create a new child requirement by clicking the “New Child Requirement” button while
   the “X.X server” requirement you just created is highlighted.




       a. Enter proper corresponding requirement from TRD. Ex: “TEI-1” in the Name
          field.
       b. Select "BT -00000 000-DummyProject" from the Project drop down menu.
       c. Enter appropriate project priority. P0 – P5.
       d. Select TRD as the Req. Type.
       e. Click OK.
       f. While highlighting the requirement you just created (TEI-1), enter a description
          from the TRD under the Description tab.




           Click here to enter test requirement description




        For Manual Testing Docs visit: www.gcreddy.net                            8/23
   For QTP Scripts and Documents visit: www.gcreddy.com




                                                   Your TEI-1 test requirement is now in
                                                   the requirements tree.




8. Repeat the steps above for entering your additional TRD and PRD requirements.
9. For sustainment projects, follow steps 1, 2, and 3 without attaching any documents at
   the BT Project level. Under your sustainment BT Project requirement, create a QAR
   requirement with the QAR attachment.



        For Manual Testing Docs visit: www.gcreddy.net                            9/23
         For QTP Scripts and Documents visit: www.gcreddy.com
1.4           Adding Test Cases

      1.4.1       Creating a Test Plan Tree Structure
              1.4.1.1   Creating a Component’s Regression folder
                  1. While highlighting your component folder, press the New Folder button at the
                     top of the test plan tree.

                 2. In the New Folder popup window type in “Regression” for creating your
                    components regression folder. This folder will store all regression cases for
                    all projects/QARs for this component.
              1.4.1.2   Creating a Component’s BT Project Folder
                  1. While highlighting your component folder, press the New Folder button at the
                     top of the test plan tree.

                  2. In the New Folder popup window type in your BT project code for creating
                     your components BT project folder. This folder will store all functional and
                     performance cases for this project and component.
              1.4.1.3   Creating a Component’s BT Project QAR Folder (this is only required if your BT
                        project is a maintenance project code)
                  1. While highlighting your BT Project folder, press the New Folder button at the
                     top of the test plan tree.

                  2. In the New Folder popup window type in your QAR name for creating your
                     components BT project QAR folder. This folder will store functional and
                     performance folders/cases for this project, QAR, and component. See the
                     screen shot below of the test plan tree for a maintenance project.




                 For Manual Testing Docs visit: www.gcreddy.net                              10/23
   For QTP Scripts and Documents visit: www.gcreddy.com
        1.4.1.4   Creating a Component’s BT Project Functional Folder
            1. While highlighting your BT project folder (or QAR folder for maintenance
               projects) for your component, press the New Folder button at the top of the
               test plan tree.

            2. In the New Folder popup window type in “Functional”. This folder will store
               all functional, negative, and failure cases for this project/QAR and
               component.
        1.4.1.5   Creating a Component’s BT Project Performance Folder
            1. While highlighting your BT project folder (or QAR folder for maintenance
               projects) for your component, press the New Folder button at the top of the
               test plan tree.

            2. In the New Folder popup window type in “Performance”. This folder will
               store all performance cases for this project/QAR and component. See the
               screen shot below of the test plan tree for a POR project.




1.4.2       Adding your first Functional/Performance Test Case


 1. Find your component (ex: Nimue Engine) under the Subject\Customer Care
    Backend\ folder.

 2. Find the BT project folder under your component. Ex: BT-86505-165: TEI R5-
    Virtual Billn Agent 1.0.

 3. Find the “Functional” Folder under your BT project folder.

 4. Create your individual test cases under your Functional folder as explained below:

        a. While the Functional folder is highlighted, click on the “New Test” icon to create
           a new test.




           For Manual Testing Docs visit: www.gcreddy.net                           11/23
     For QTP Scripts and Documents visit: www.gcreddy.com




    b. Enter your test type and test name in the “Create New Test” window. Test type
       should be manual for most of your test cases.




        The test naming convention for customer care is as follows:

<component short desc>_<protocol>_<transaction short name>_<test case #>_<test specific short desc>

        Examples:
           Nimue Engine:
                  NimEng_getMemberData1_billsum_0000069_mast_6Bills
           Ami_credit:
                  ami_credit_psp_list_0000002_nocredits

        Rules:
            Test case numbers should have a fixed length.
            Test case numbers should be unique across your component. For each BT
               project your first test case number should be incremented by one from largest
               test case number from the previous project.

           For Manual Testing Docs visit: www.gcreddy.net                                 12/23
 For QTP Scripts and Documents visit: www.gcreddy.com
          Protocol should be used only if server supports multiple protocols. This is to
           limit the length of the test case name. Current acceptable protocols are: psp,
           snac, soap, flap, qmi, and http.



c. Enter your Sub System, Component, and Test Tool in the Required Fields box.




d. While your new test case is highlighted in the left window, fill in a description of
   your test case under the Details tab in the right window.

e. While your new test case is highlighted in the left window, fill in your test case steps
   in the Design Steps tab in the right window.




                            Highlighted test case to be edited

f. While your new test case is highlighted in the left window, select Reqs Coverage Tab
   in the right window to associate your new test with requirement(s).
        i. Press the Select Req button (blue arrow) to bring up the Requirements tree on the right.
       ii. Select your requirement and press the Add to Coverage arrow at the top-right (red arrow).




       For Manual Testing Docs visit: www.gcreddy.net                                        13/23
 For QTP Scripts and Documents visit: www.gcreddy.com




g. As an alternative to step f , test cases can be associated to requirements using the
   Requirements window– Coverage view as shown below.
         i. Highlight the requirement on the left window that will be covered by the tests that you will
            choose.
        ii. Click on the Select tests icon in the right window(blue arrow). This will bring up the test plan
            tree on the right
       iii. Navigate to the required folder and test cases.
       iv. Select them , Click on “Add to Coverage” to add them to the requirement(red arrow).




h. To add performance test cases under the performance folder, follow steps a-f
   replacing Functional with Performance in step a.




       For Manual Testing Docs visit: www.gcreddy.net                                            14/23
               For QTP Scripts and Documents visit: www.gcreddy.com
           1.4.3        Adding Additional Functional/Performance Test Cases
              1. Highlight an existing test case to be copied.
              2. Right click on the highlighted test case and select COPY.
              3. Highlight the folder where you want your new test case to be placed.
              4. Right click the highlighted folder and select PASTE.
              5. Click OK on the Duplicate test name warning dialog box.
              6. Rename your copied/new test case to your desired name and remove the “COPY_1”
                 suffix.
              7. Modify the new test case details, design steps, and reqs coverage as required. (see
                   section 1.3.1)
              8. Modify test tool if applicable.

           1.4.4        Adding a Regression Test Case
              1.   Highlight the functional test case that you wish to add to your regression folder.
              2.   Right click on the highlighted test and select COPY.
              3.   Highlight the regression folder for your component.
              4.   Right click on the highlighted folder and select PASTE.

                   Note: When copying test cases your requirements linkages will not be copied over.

           1.4.5        Deleting a Test Case
              1.   Highlight the test case that you wish to delete
              2.   Right click on the highlighted test and select CUT.
              3.   Highlight the TEST PLAN TRASH BIN folder
              4.   Right click on the highlighted folder and select PASTE.

           1.4.6        Uploading Test Cases from Excel
              1.4.6.1         Creating Excel test cases in the format required by QC


                   The spreadsheet screenshot that follows shows the required columns for test cases in
                   Excel before uploading them into QC.

                   While adding your test cases in Excel, ensure that the following field values match
                   quality center exactly. Examples of some correct and incorrect field values have been
                   shown as well.


                        Incorrect                             Correct
 Subject                Customer care/ami_payment             Customer Care Backend\Ami Payment
 Component              ami_payment                           Ami Payment
 Sub System             Customer care                         Customer Care Backend
 Test Tool              JavaDriver                            Java Driver


Example Excel Spread Sheet Format:

                        For Manual Testing Docs visit: www.gcreddy.net                           15/23
 For QTP Scripts and Documents visit: www.gcreddy.com




                                               Do not highlight header row when selecting
                                               test cases to export.




1.4.6.2      Uploading test cases from Excel


    1. Select the test cases in Excel omitting the header row.

    2. Choose the Tools -> Export to Quality Center Option in Excel as shown below.




    3. Go through steps 1 to 5 in the TestDirector Export Wizard dialog box.

    4. If you have selected to create a temporary map or a new map in Step 5 follow the
       figure below to do your map in step 6. (Note: This map will be different for you
       if you did not follow the same column order as in the Excel spreadsheet format
       shown above)




          For Manual Testing Docs visit: www.gcreddy.net                         16/23
For QTP Scripts and Documents visit: www.gcreddy.com




                                                                        Map your columns
                                                                        in ABC order.




 5. At the end of Step 6, your test cases will be successfully uploaded to QC if no
    errors are encountered.

 6. To locate your uploaded test cases in QC, get to QC’s test plan area, click
    through the folder structure that you specified in the “Subject” column in the
    spreadsheet above.




    For Manual Testing Docs visit: www.gcreddy.net                            17/23
         For QTP Scripts and Documents visit: www.gcreddy.com


1.5           Adding POR Test Sets

      1.5.1       Creating a Test Lab Tree Structure
              1.5.1.1   Creating a BT Project Folder (if one does not exist)
                  1. While highlighting the PROJECTS / MATERIAL ENHANCEMENTS
                     folder, press the New Folder button at the top of the test lab tree.

                  2. In the New Folder popup window type in your BT project code. This folder
                     will store all subsystem folders for this BT project.
              1.5.1.2   Creating a Subsystem Folder under your BT Project Folder
                  1. While highlighting your BT project folder, press the New Folder button at the
                     top of the test lab tree.

                  2. In the New Folder popup window type in your subsystem name. Ex.
                     “Customer Care Backend”. This folder will store all component folders
                     belonging to this subsystem.
              1.5.1.3   Creating a Component folder under your Subsystem Folder
                  1. While highlighting your Subsystem folder, press the New Folder button at the
                     top of the test lab tree.

                  2. In the New Folder popup window type in your component name. This folder
                     will store functional and performance test set folders for this component.
              1.5.1.4   Creating Functional/Performance/Regression folders under your Component
                        Folder
                  1. While highlighting your Component folder, press the New Folder button at
                     the top of the test lab tree.

                  2. In the New Folder popup window type in “Functional” as your folder name.
                     This folder will store functional test sets for this component/project.

                  3. For Performance and Regression, repeat steps 1 and 2.




                 For Manual Testing Docs visit: www.gcreddy.net                          18/23
   For QTP Scripts and Documents visit: www.gcreddy.com


1.5.2      Adding your first Functional/Performance Test Set


        1. While highlighting your Functional folder, click on the New Test Set Icon at the
           top.




        2. In the New Test Set window enter your test set name and test set description.

                   <component>_<test set #>_<transaction desc>_<test type>

                   Example:
                           NimEng_0000001_getMemberData1
                           NimEng_0000002_getMemberData1_negative
                           NimEng_0000003_getMemberData1_failure
                   Test Set Rules:
                  Test set numbers are unique for each component/project.
                  Test type is optional for test sets having positive test cases.




           For Manual Testing Docs visit: www.gcreddy.net                            19/23
For QTP Scripts and Documents visit: www.gcreddy.com




 3. Enter Sub System, Component, Project, and Testing Type in the Required Fields
    Window.




 4. While your new test set is highlighted in the left window, select the Execution
    Grid Tab in the right window to associate your new test set with test cases.

    For Manual Testing Docs visit: www.gcreddy.net                           20/23
        For QTP Scripts and Documents visit: www.gcreddy.com
              i. Press the Select Test button in the right (blue arrow) window to bring up the test plan tree on
                 the right.
             ii. Select your test cases and press the Add Tests to Test Set button (red arrow) at the top-right.




         5. To add a performance test set under the performance folder, follow steps 1-4
            replacing Functional with Performance in step 1.
         6. To add a regression test set under the regression folder, follow steps 1-4 replacing
            Functional with Regression in step 1.

1.5.3     Adding Additional Functional/Performance/Regression Test Sets
   1. Highlight an existing test set to be copied.
   2. Right click on the highlighted test set and select COPY.
   3. Highlight the folder where you want your new test set to be placed.
   4. Right click the highlighted folder and select PASTE.
   5. Click OK on the Duplicate test set name warning dialog box.
   6. Rename your copied/new test set to your desired name and remove the “COPY_1”
      suffix.
   7. Update the test set to associate it with the appropriate test cases.

1.5.4     Deleting a Test Set
   1.    Highlight the test set that you wish to delete
   2.    Right click on the highlighted test set and select CUT.
   3.    Highlight the TEST PLAN TRASH BIN folder
   4.    Right click on the highlighted folder and select PASTE.




            For Manual Testing Docs visit: www.gcreddy.net                                           21/23
         For QTP Scripts and Documents visit: www.gcreddy.com


1.6           Adding Sustaining/Maintenance Project Test Sets

                        Note: Sustaining project is a project that does not have a requirements doc
      1.6.1       Creating a Test Lab Tree Structure
              1.6.1.1    Creating a BT Project Folder (if one does not exist)
              1. While highlighting the SUSTAINMENT folder, press the New Folder button at
                 the top of the test lab tree.

              2. In the New Folder popup window type in your BT project code. This folder will
                 store all QAR folders for this component/BT project.
              1.6.1.2    Creating a QAR Folder
              1. While highlighting the BT Project folder, press the New Folder button at the top
                 of the test lab tree.

              2. In the New Folder popup window type in your QAR name. This folder will store
                 functional, performance, and regression folders for this component/BT
                 project/qar.
              3.
              1.6.1.3    Creating Functional/Performance/Regression folders under your QAR Folder
              1. While highlighting your QAR folder, press the New Folder button at the top of
                 the test lab tree.

              2. In the New Folder popup window type in “Functional” as your folder name. This
                 folder will store functional test sets for this component/BT project/QAR.

              3. For Performance and Regression, repeat steps 1 and 2.

      1.6.2       Creating a Sustainment Project Test Set
              1. Follow instructions in section 2.3.2 to create functional/performance/regression
                 test sets and associate them to test cases.




                 For Manual Testing Docs visit: www.gcreddy.net                              22/23
         For QTP Scripts and Documents visit: www.gcreddy.com
1.7           Executing Test Sets

      1.7.1      Executing a Single Test with Manual Runner


       1. Select a test to be executed and click on “Run”.
       2. Click on Begin Run button in the manual runner window.
              a. If you want to pass one step at a time choose “pass selected”
              b. If you want to pass all the steps at the same time choose “pass all”
              c. If you want to fail one step at a time choose “fail selected”
              d. If you want to fail all the steps at the same time choose “fail all”
              e. Click on “End Run”

      1.7.2      Executing a Test Set with Manual Runner


       Do not use this function unless you intend to run all of the test cases that belong to the
       test set at once.

       1. Select a test set to be executed and click on “Run Test Set”.
       2. Follow Steps from section 2.5.1 #2 for each test case within the test set.




                For Manual Testing Docs visit: www.gcreddy.net                            23/23

				
DOCUMENT INFO
Shared By:
Categories:
Stats:
views:15557
posted:3/20/2010
language:English
pages:23
Description: quality center tutorial for software testers