QC Material with Screenshots Naresh Technologies – Class Notes

QUALITY CENTER

1

Quality Center is a Test management tool which has developed by mercury interactive corporation and now it is acquired by HP. Test Management Tool: A tool which we are using to manage the entire testing process is called Test Management Tool. In this tool we can manage Requirements, TC’s, Executing TC’s and also reporting Defects. Note: Latest version of Quality Center is 11.0 There are two different types of components in Quality Center. (as you can see from the below example Figure 1.0 after installing Quality Center the two components attached on the desktop) 1. Site Administration 2. Quality Center

Figure 1.0

Mercury Quality Center Icon

Site Administration Icon in QC

Site Administration: This is admin’s activity. In this component, Admin will create the domain, add the resources, create the projects and assign the resources to the projects.

CREATING

DOMAIN: In this, the Site Administrator i.e., admin will create an empty domains. Consider a scenario that some ABC company has got an INSURANCE project, and then admin will create the INSURANCE domain in site administration as follows., Navigation: 1. Login to Site Administration (see Figure 1.1, and Figure 1.2 below) Figure 1.1

Trainer : Kishore Kanumalli

QC Material with Screenshots Naresh Technologies – Class Notes

2

Figure 1.2

2. Click on Site Projects Tab (see Figure 1.3) Figure 1.3

Trainer : Kishore Kanumalli

QC Material with Screenshots Naresh Technologies – Class Notes

3

3. Click on Create Domain button in Site Projects Tab (see Figure 1.4) Figure 1.4

4. After you click on Create Domain button, it opens Create Domain Dialogue Box, here enter your domain name (here in this example Figure 1.5 we are entering the domain name as INSURANCE, see Figure 1.5). After entering domain name click on OK button to finish the creation of domain name. Figure 1.5

5. It Creates and Empty Domain INSURANCE (see Figure 1.6 Figure 1.6

with

the

Domain

Name

ADDING resources: In this admin will add the resources in
Site Administration. Navigation:

Trainer : Kishore Kanumalli

3) Figure 2.QC Material with Screenshots Naresh Technologies – Class Notes 1.3 Trainer : Kishore Kanumalli .2 above and Figure 2.1. Click on Site User Tab (see Figure 2.2 2.2 below) Figure 2.1 to (see Figure 2. Login Site Administration Figure 2. 4 and Figure 2.

It Opens Site Users Dialogue Box (see Figure 2. It Opens New User Dialogue Box (see Figure 2.4) Figure 2. Now you can see the newly added name RAMA in the User Name List (see Figure 2.3) and Click on New User Button in Site Users Dialogue Box (Figure 2.QC Material with Screenshots Naresh Technologies – Class Notes 3.5) and here enter the details of the New User and click on OK Button to add a new user (See Figure 2.6) Figure 2.5 5.5.6 Trainer : Kishore Kanumalli . here in this example we are adding new user as RAMA) Figure 2.4 5 4.

3 below).1 6 CREATING PROJECTS: In this step admin will create projects (see Figure 3. Click on Create Project on right side (see Figure 3. Click on Site Projects Tab and Select your domain (see Figure 3. Navigation: 1.2 Figure 3.QC Material with Screenshots Naresh Technologies – Class Notes and assigns the added users to the projects. 3. Login to below) Site Administration Figure 3.2 2.4) Trainer : Kishore Kanumalli . Figure 3.3 3.1.

in this select Create an Empty Project radio button and click on Next (see Figure 3.5 Figure 3. here in the example figure we have given the name of the project as “Proj1”) and then click on Next Figure 3.4 7 4. Then it opens create project name window in that enter the name of the project (see Figure 3.5).QC Material with Screenshots Naresh Technologies – Class Notes Figure 3. It opens Create Project Dialogue Box.6 Trainer : Kishore Kanumalli .6.

in this on the right side there is a list of Available Users.7). After completion of selecting the name click on OK Button. Figure 3. It navigates to another window here simply click on Next (see Figure 3. SITA and LAXMANA. then you are navigated to Assign Users Dialogue Box (see Figure 3.QC Material with Screenshots Naresh Technologies – Class Notes 8 5.8).7 Trainer : Kishore Kanumalli . in a serial step wise with numbers see Figure 3.8). Select the required names and click on the Add Selected Users arrow Button to add the selected name to the project (here in this example we are adding RAMA.

9 arrow mark where we have added three users RAMA. After adding names click on OK to navigate to project finish window. SITA & LAXMANA).9 Trainer : Kishore Kanumalli . Now you can see the users added to the project in the left window (see Figure 3.QC Material with Screenshots Naresh Technologies – Class Notes Figure 3. Figure 3.8 9 2 3 Here RAMA has been added to Proj1 from the Available Users present on the right side 4 1 6.

on the left side you can see the created project “Proj1” and on the right side you can see the project 1 created successfully message box Trainer : Kishore Kanumalli . Here in this Figure 3. select the Activate Project check box as well as Store Projects Repository in the database options and click on Create Button to finish the creation of Project and Assigning the Users to the project (see Figure 3.10) Figure 3. Here in this Project Creation Finish window.10 8.QC Material with Screenshots Naresh Technologies – Class Notes 10 7.11 you can see the successful creation of project and assigning of users to the project.

Dash Board Tab Different Tabs in QC 10. Test Plan Tab 3. Requirements Tab 2. Test Resources 4. Different Tabs in QC 9. After Trainer : Kishore Kanumalli . Requirements Tab 2. After completion of identifying testable requirements we need to conduct four different types of reviews on testable requirements.11 11 Quality Center: Quality Center is tool where both the testers and developers will perform activity and especially testing team will design the requirements.0 1.QC Material with Screenshots Naresh Technologies – Class Notes Figure 3. Dash Board Tab Requirements: We are using this Tab to Manage the requirements. Defects Tab 6.0 1. Test Lab Tab 4. Test Plan Tab 3. write the test cases and execute the test cases and reports the defects to the development team. In this phase testing team will design the requirements directly or import the requirements from excel sheet As soon as we receive the requirements in the form of use cases and business rules document. Test Lab Tab 5. we need to identify testable requirements in excel sheet. Defects Tab 5.

Requirements Tab consists of below options: 1. Add New Requirements 2. Delete Requirements 4. Filter 6. Requirement Details 8. Navigation: Login to Quality Center As shown in the below figure. Refresh 5. Add Child Requirements 3.QC Material with Screenshots Naresh Technologies – Class Notes completion of client requirements phase. review client will sign-off 12 the Once the client has signed off the requirements phase we will upload those requirements from Excel sheet into requirements tab of quality center. Select Columns 7. Attachment Add New Requirements: By using this option we can create requirements In requirements Tab. First log on to QC using abc user and click on authenticate user and it provides the details regarding the user Domain and Project after that click on login button to login to QC Click on Requirements Tab. as shown in the below figure Trainer : Kishore Kanumalli .

which is known as New Requirement option.QC Material with Screenshots Naresh Technologies – Class Notes Here we are successfully logged into the QC with abc as user and we are at QC 13 Requirements Tab. you can see the New Requirement Dialogue box opened as a result of clicking on the New Requirement option from the Requirements Tab in QC from the above figure Trainer : Kishore Kanumalli . simply select and double click on this to open New Requirement Dialogue box as you can see that from below example figure Here in this below example figure. we are adding the requirements by simply clicking on the above icon. Then Click on the New Requirements button or Ctrl + N as you can see from the below figure Here in this example figure.

QC Material with Screenshots Naresh Technologies – Class Notes 14 Then enter your requirement name with the naming convertion and click on submit button as shown in the below figure Trainer : Kishore Kanumalli .

QC Material with Screenshots Naresh Technologies – Class Notes 15 Here in this example we are entering the name of the Requirement as Proj1_ValidateOKButton (as per the naming convention of the project) and then clicking on SUBMIT button to add the requirement to requirement tab of QC Trainer : Kishore Kanumalli .

Here in this example you can see the same requirement Proj1_ValidateOKButton in a more precise and extendable form.QC Material with Screenshots Naresh Technologies – Class Notes 16 Here in this example you are seeing the newly added Requirement with the name as Proj1_ValidateOKButton. After adding this we are adding three more requirements that you can see from the below Figure Trainer : Kishore Kanumalli .

Trainer : Kishore Kanumalli .QC Material with Screenshots Naresh Technologies – Class Notes Here in this example you can see we have added two more requirements to the existing requirements all together we have three requirements added to the requirement tab of QC 17 Child Requirements: Child requirement is the requirement which is the part of the main requirement and displays under main requirement Navigation: Login to quality center as shown in the below figure.

New Child Requirement Button More Precisely Trainer : Kishore Kanumalli .QC Material with Screenshots Naresh Technologies – Class Notes Click on Requirements Tab and select requirement for which you want to add a requirement as shown in the below figure 18 the main New child Click on New Child Requirement button as shown in the below figure then it opens new child requirements dialogue box.

Here we are entering the new child requirement for the main requirement and then clicking on Submit Button As you can see the the below figure Newly added child requirement from Trainer : Kishore Kanumalli .QC Material with Screenshots Naresh Technologies – Class Notes 19 Enter new child requirement details and click on submit button as shown in the below figure.

as shown in the below figure Trainer : Kishore Kanumalli .QC Material with Screenshots Naresh Technologies – Class Notes added requirements Navigation: Login to QC 20 Delete Requirements: We are using this option to delete the Login to QC using the authenticated user name and password Click on Requirements Tab. as shown in the below figure Select the requirement which we are going to delete.

before deleting we have three requirements after deleting we have two requirements from the below figure Note : In Real time Delete Requirement option will be in disabled mode.QC Material with Screenshots Naresh Technologies – Class Notes 21 Click on Delete button and click on the Yes confirmation dialogue box as shown in the below figures. Refresh: We are using this option to refresh the requirements tab of quality center Navigation: In the requirements tab click on the refresh button or f5 to refresh the requirements as shown in the below figure. Trainer : Kishore Kanumalli . You can see from the below figure that what we have deleted from the above figure.

as shown in the below example figures. as shown in the below figure Give your filter condition based on your requirement and then click on OK button.QC Material with Screenshots Naresh Technologies – Class Notes 22 Filter: We are using this option to identify a value based on selection criteria. as shown in the below figure Click on Filter. Navigation: Click on requirements tab. Trainer : Kishore Kanumalli .

QC Material with Screenshots Naresh Technologies – Class Notes 23 Selecting the Set Filter/Sort option in Requirements tab of QC You can see more precisely Set Filter/Sort option in Requirements tab of QC Trainer : Kishore Kanumalli .

Creation Date. Creation Time) Here we have selected the Author filed as a selection criterion to get the values about the authors who have designed the requirements Trainer : Kishore Kanumalli After Selection Click on this button to open Selection Filter Condition Dialogue Box .QC Material with Screenshots Naresh Technologies – Class Notes 24 Here you can see more precisely the Set Filter/Sort Dialogue box with many filed names (Ex: Author.

QC Material with Screenshots Naresh Technologies – Class Notes 25 Here in this we are selecting the Author name as ‘abc’ from the Name field of Selection Filter Condition Dialogue Box After selecting the name we are simply click on OK Button to view the name selection criteria in Filter Dialogue Box from the below example figure Here you can see the selected name ‘abc’ from Filter Dialogue Box After getting name in the Filter Dialogue Box we are clicking on OK button to get the values of selected criteria as you can see from the below example figure Trainer : Kishore Kanumalli .

QC Material with Screenshots Naresh Technologies – Class Notes 26 You are seeing the values of selection criteria based on the name of the Author ‘abc’ which it is displaying two values as a result SELECTING MULTIPLE FIELDS (NAMES) WITH LOGICAL OPERATORS Here we are selecting author name as ‘abc’ and also selecting the logical operator OR Trainer : Kishore Kanumalli .

QC Material with Screenshots Naresh Technologies – Class Notes 27 And then selecting another author name as 123 along with logical operator OR and Clicking on OK button You can see our selection criteria in Filter Dialogue Box as “abc or 122” as a selection criteria to get the required values and click on OK Button to display the values Trainer : Kishore Kanumalli .

as you can see from the figure that Creation Date Field was selected and then clicked on the right side button to open Creation Time Selection Criteria Dialogue Box.QC Material with Screenshots Naresh Technologies – Class Notes 28 Values of author 123 Values of author abc Here you can see the different values of authors with have got four values belonging to both the authors 123 and abc. you can see from the below example figure Trainer : Kishore Kanumalli . as a result of filtering we SELECTION BASED ON THE CREATION DATE CRITERIA Here we are filtering the data based on the Creation Date Field.

based on our requirement we can select the appropriate field. Yesterday. Here in this example we have selected TODAY as the selection criteria and you can see that from the figure.QC Material with Screenshots Naresh Technologies – Class Notes 29 Here in this we have different Creation Date Field values such as Today.. Previous Year etc. After selecting Today field from the available options in the dialogue box simply click on OK button to display the filtered results Trainer : Kishore Kanumalli .

QC Material with Screenshots Naresh Technologies – Class Notes 30 You can see the selected Today field very much clearly in the Filter Dialogue box. after selecting this simply click on OK button to display the values. Trainer : Kishore Kanumalli .

where the requirements that are designed Today was displaying and there are four such values available. Trainer : Kishore Kanumalli .QC Material with Screenshots Naresh Technologies – Class Notes 31 Here in the above figure you are seeing the results of the selection criteria.

specially in this example we are selecting OR operator along with Today. ThisWeek and ThisMonth to get the required values based on the selection criteria.QC Material with Screenshots Naresh Technologies – Class Notes 32 USING LOGICAL OPERATORS ALONG WITH CREATION DATE CRITERIA Here in this example we are using different Logical Operators along with the Creation Date Criteria. After selecting the criteria simply click on OK button to display values Trainer : Kishore Kanumalli .

QC Material with Screenshots Naresh Technologies – Class Notes

33

Here in this example you can see the selected criteria as Today Or ThisWeek Or ThisMonth

After this selection simply click on OK to display the values according to selection criteria

Here in the above figure you are seeing the results of the selection criteria, where the requirementsFILTERING THE according to Today OrCREATIONOr ThisMonth were that are designed VALUES BASED ON ThisWeek TIME displaying. Trainer : Kishore Kanumalli

QC Material with Screenshots Naresh Technologies – Class Notes

34

Here in this example we are filtering the data based on Creation Time criteria, first we are selecting the field and then clicking the right side button of this field opens Filter Creation Time Dialogue box as you can see it from below example

Here in this example you are seeing the Filter Creation Time Dialogue box where we are applying the search criteria based on the creation time. Here we can use logical operators along with creation time option.

Trainer : Kishore Kanumalli

QC Material with Screenshots Naresh Technologies – Class Notes

35

Here in this example we are using

>,<,AND
Logical operator along with time criteria, as you can see from these figures, to get the required selection criteria (Ex: >4:00:00PM And < 5:00:00PM). After entering the mentioned values we are simply clicking on OK, to display the values

Trainer : Kishore Kanumalli

QC Material with Screenshots Naresh Technologies – Class Notes

36

Here you can see exactly selected date as search criteria (Ex: >4:00:00PM And < 5:00:00PM). After this we are simply clicking on OK, to display the values , as you can see from the below example figure in the Filter Dialogue box. After selecting it, simply click on OK to display the values.

Trainer : Kishore Kanumalli

QC Material with Screenshots Naresh Technologies – Class Notes

37

Here in the above figure you are seeing the results of the selection criteria based on Creation Time option

Here in this example figure we are using another time criteria as (Ex: >4:30:50PM And < 4:50:35PM). After this we are simply clicking on OK, that will navigate to Filter Dialogue box. After selecting it from Filter Dialogue box, simply click on OK to display the values.

Trainer : Kishore Kanumalli

QC Material with Screenshots Naresh Technologies – Class Notes 38 Here you can see the selected time Filter Dialogue Box Here in the above figure you are seeing the results of the selection criteria based on Creation Time option that varies with a time span of about 18 Minutes. Trainer : Kishore Kanumalli . in this time span two requirements are added.

entering the value simply click on OK to see the selection criteria in the Filter Dialogue Box. to open Name Filter Dialogue Box Here in this example figure we are using the Project name and Requirement name along with the naming conventions and also along with logical operator OR as selection criteria after. Trainer : Kishore Kanumalli .QC Material with Screenshots Naresh Technologies – Class Notes FILTERING THE VALUES BASED NAME FIELD CRITERIA 39 Here in this example figure we are selecting NAME field as the selection criteria from Filter Dialogue box and then clicking on the right side button of the same field.

after that simply click on OK to see the result Trainer : Kishore Kanumalli .QC Material with Screenshots Naresh Technologies – Class Notes 40 Here you can see the filtering of data based on the Name criteria. which we have given a sample name in the condition box along with the logical operators Here in this example you can see the selection criteria of Project name and Requirement name along with the naming convention.

QC Material with Screenshots Naresh Technologies – Class Notes 41 Here in the above example figure you can see the results based on the Name field of the Filter Dialogue Box Select Columns: We are using this option to increase or decrease the visible columns in a requirements tab. as shown in the below figure. Click on the Select Columns Button to increase or decrease the columns and follow the onscreen instructions. As shown in the below figure we have a number of columns which we are going to reduce these columns Navigation: Click on Requirements Tab. as shown in the below figure. Trainer : Kishore Kanumalli .

which will open the Select Columns Dialogue box as you can see it from below example Trainer : Kishore Kanumalli .QC Material with Screenshots Naresh Technologies – Class Notes 42 Here we are selecting the Select Columns options from the options of requirements tab.

In the below example we are selecting some columns from Reviewed to Product to increase or decrease the columns Trainer : Kishore Kanumalli .QC Material with Screenshots Naresh Technologies – Class Notes 43 This Select Columns Dialogue box consists of two lists of columns they Available Columns and Visible Columns and there are some buttons in between them to increase or decrease the columns as per our requirements.

QC Material with Screenshots Naresh Technologies – Class Notes 44 Here after selecting appropriate columns we are simply clicking on this Make Column Available to decrease the visible columns. After clicking this you can see moving of selected columns from Visible Columns to Available Columns from the below example figure Trainer : Kishore Kanumalli .

QC Material with Screenshots Naresh Technologies – Class Notes 45 Here in both the example figure you are seeing the modified decreased columns as now we can have only four columns Trainer : Kishore Kanumalli .

QC Material with Screenshots Naresh Technologies – Class Notes 46 Here in this example we are increasing the Visible Columns with Creating Time in order to do this first we need to select it from the Available Columns and then click on Make Column Visible option to increase the visibility of the Creation time option. Trainer : Kishore Kanumalli .

Requirement Details: This option we are using to see the overall details of the requirement Navigation: Click on Requirements Tab. Trainer : Kishore Kanumalli . as shown in the below figure.QC Material with Screenshots Naresh Technologies – Class Notes 47 Here you can see the added Creation Time in the visible columns and also on the requirements tab.

In quality center we can attach in two types 1.QC Material with Screenshots Naresh Technologies – Class Notes 48 Select the requirement for which you want to see the requirement details. as shown in the below figure. Attach as a File 2. Attach as a Screen Shot Trainer : Kishore Kanumalli . as shown in the below figure. Click on Requirement Details Button. As you can see from the below figure that it is displaying the requirement details of the above selected requirement Attachments: We are using this option to attach the files to requirements or test case of defect.

as shown in the below figure.QC Material with Screenshots Naresh Technologies – Class Notes 49 Attach as a File: By using this option we can able to attach the files to the requirements. as shown in the below figure. in that select and click on the File option as shown in the below figure Trainer : Kishore Kanumalli . It opens Requirement Details dialogue box. Select the requirement for which you want to attach a file. (Now in this example we will add OK button image file to selected requirement) Navigation: Click on Requirements Tab. as shown in the below figure. Click on Attachments Button.

Trainer : Kishore Kanumalli . Now you can see the OK Button jpeg file was attached to Proj1_OKButton Requirement.QC Material with Screenshots Naresh Technologies – Class Notes 50 It Opens File Browser Dialogue box select the file location and click on the OPEN button (here in this example we are selecting OK button Image located at C:\Documents and Settings\Yashmit\My Documents\My Pictures\OK Button. as shown in the below figure. as shown in the below figure.jpeg).

as shown in the below figure. Click on Attachments Button. as shown in the below figure. as shown in the below figure. in that select and click on the Snapshot (black camera symbol) option which will open Snapshot Dialogue Box. to the Navigation: Click on Requirements Tab. Select the requirement for which you want to attach a file.QC Material with Screenshots Naresh Technologies – Class Notes 51 Attach as a Screen Shot: By using this option we can attach the screen shots of the application requirements. It opens Requirement Details dialogue box. Trainer : Kishore Kanumalli . to test cases and to defects.

after that we will select the screen shot of the flight reservation window present on the desktop now Now you have to select. click and hold the camera button. drag it and drop on the window which you need to capture the screen shot (in this example we are going to take the snapshot of the login window of flight reservation application present on the desktop) Trainer : Kishore Kanumalli . click and hold and drag on the camera button present on the top left corner of the window.QC Material with Screenshots Naresh Technologies – Class Notes 52 This is the Snapshot dialogue box in this select.

Here you can see that the login window of the flight reservation application was captured by the snapshot option. After capturing the login window by the snapshot window then click on ATTACH option at the end of the window to attach the file Trainer : Kishore Kanumalli .QC Material with Screenshots Naresh Technologies – Class Notes Now you can see that we have selected the login window of flight reservation application that was captured by the Camera button 53 Now you can see the Snapshot Camera window has selected the login window of the flight reservation application on the desk top. as shown in the below figure.

Test Plan Tab: We are using test plan tab to manage the test cases. Trainer : Kishore Kanumalli . Create a Project Folder by selecting and clicking on the New Folder Button. In this tab either we can directly design the TC’s or import TC’s from Excel sheet. Navigation for design TC’s in QC: Click on the Test Plan Tab of QC. it opens New Folder creation dialogue box. as shown in the below figure. as shown in the below figure.QC Material with Screenshots Naresh Technologies – Class Notes 54 You can see the captured screen shot of Login window of flight reservation application by the snapshot window of attachments option.

It Opens “Create New Test Dialogue” box. as shown in the below figure. Here we have given the new empty test name. as shown in the below figure.QC Material with Screenshots Naresh Technologies – Class Notes Here enter the project Name (Ex: Proj1) in the New Folder Dialogue box and click on OK 55 You can see the newly added Proj1 folder. as shown in the below figure. with the naming convention of the project Trainer : Kishore Kanumalli . in that enter the New test name and click on OK Button. Now under the newly created project folder “Proj1” we will design the Test Cases to this folder in order to do this we need to click on the New Test Button.

as shown in the below figure. Trainer : Kishore Kanumalli . Newly added empty test case under Proj1 Now Select the newly created empty test case and click on the Design Steps and then click on New Step button.QC Material with Screenshots Naresh Technologies – Class Notes 56 Now you can see the newly added empty test case under the Proj1 folder.

Trainer : Kishore Kanumalli . as shown in the below figure.QC Material with Screenshots Naresh Technologies – Class Notes 57 Now it opens New Step Dialogue box. in that enter the Description and Expected result and then click on OK Button Here we are entering the Description and Expected result in the New Step Dialogue box and after that we are clicking on OK Button Now you can see the newly added Test Case with only one step. Now we are adding step number two to the test cases likewise we will add now three steps to the existing Test case. as shown in the below figure.

which is useful for traceability matrix. as shown in the below figure. Navigation: Click on the Test Plan Tab. as shown in the below figure Note: Likewise you can add any number of Test cases by repeating the above procedure and add the multiple steps to each test case. Requirements Mapping: After we design TC’s or uploaded TC’s from excel sheet to quality center we need to map the each test case with its equivalent or concerned requirement.QC Material with Screenshots Naresh Technologies – Class Notes 58 Now totally we have Three steps for One test case. Trainer : Kishore Kanumalli .

as shown in the below figure Now we will map the “Proj1_ValidateCancelButton” Test Case present on the left side of the window with the “Proj1_Cancel” requirement present on the right side of the window. Then it will navigate to the requirements tab on the right side of the window being present in the test plan tab. as shown in the below figure.QC Material with Screenshots Naresh Technologies – Class Notes 59 Select the Test Case and Click on Requirement Coverage Button and then click on Select Req Button in that. as shown in the below figure. Trainer : Kishore Kanumalli . from below example figure) present on the top of that requirement window to map that requirement with the Proj1_ValidateCancel Button. in order to do this first select the Proj1_Cancel Requirement and click on the left arrow (Add to Coverage.

QC Material with Screenshots Naresh Technologies – Class Notes 60 Now you can see we have mapped Proj1_ValidateCancelButton on the left side of the window with the Proj1_Cancel requirement on the right side of the window using Add to Coverage option in the Select Requirement window. As shown in the below three example figures we have mapped them. as shown in the below figure. Trainer : Kishore Kanumalli . Mapped requirement with the test case Likewise we will map all the test cases with its appropriate requirements so that it will be easy for us to conduct the traceability matrix.

we need to conduct Traceability Matrix Report to verify whether every Requirement has covered in the form TC or not. Navigation for conducting Traceability Matrix in QC : Map all the requirements with TC’s -> Go to Requirements Tab > Analysis Trainer : Kishore Kanumalli . We can conduct Traceability Matrix directly in QC or outside QC.QC Material with Screenshots Naresh Technologies – Class Notes 61 Traceability matrix report : After completion of designing all the TC’s in Test Plan.

QC Material with Screenshots Naresh Technologies – Class Notes 62 In analysis column. select Reports -> Tabular Report Trainer : Kishore Kanumalli .

Failed : Requirement is having TC and TC was failed 63 Calling one test case to another test case: Some times we need to execute same Test case for multiple times in other Test Cases. Not Covered : Requirement has not covered in TC 2. No Run : Requirement is having TC and not executed 4.QC Material with Screenshots Naresh Technologies – Class Notes Now you can see the report with Requirement name and Status Different Status : 1. Click on Test Plan -> Select Test Case Trainer : Kishore Kanumalli . Please find the below navigation. In that case we need not to design the same TC for again and again. By using “Call to Test” option we call one TC into another TC. Passed : Requirement is having TC and TC was passed 3.

QC Material with Screenshots Naresh Technologies – Class Notes 64 Right click on Test Case -> Click on Call to Test Select TC which you want to call Trainer : Kishore Kanumalli .

Trainer : Kishore Kanumalli .QC Material with Screenshots Naresh Technologies – Class Notes 65 Click on OK Your TC has called into another TC like below.

This we call it as a test lab setup or test set or test bed or Test Suit. Test Lab Setup: Before executing the test cases we need to pull the test cases from the test plan to test lab in a sequential executable format.QC Material with Screenshots Naresh Technologies – Class Notes 66 Test Lab: Test lab is the place where we can execute the test cases in quality center. Navigation for Test Lab Setup: Click on the Test Lab Tab. Trainer : Kishore Kanumalli . Cycle: All the test cases executed for one time that we call it as Cycle. Before executing the test cases we need to pull the test cases from test plan to test lab tab in a sequential executable format this we call it as a test lab setup or test set or test bed. as shown in the below figure. Iteration: Whenever we complete all the steps in a single test case then we will call it as Iteration.

as shown in the below figure. Project (Ex: Proj1) by It opens New Folder Dialogue box in that enter the name of the project as Proj1 and then click on OK button. as shown in the below figure. Trainer : Kishore Kanumalli . Now select the project folder and click on the New Test Set button.QC Material with Screenshots Naresh Technologies – Class Notes 67 Create an Empty folder for a clicking on New Folder button.

after that click on OK button. Now select the New Test Set and then click on the Select Test on the right side of the window to open the mapped test cases on the right side of the window.QC Material with Screenshots Naresh Technologies – Class Notes Step 2: Click on New Test Set 68 Step1: Project Selected Here Now it open New Test Set dialogue box. as shown in the below figure. Now you can see the newly added Cycle1 to the Proj1. as shown in the below figure. in that give the name of the Test Set as Cycle1. Trainer : Kishore Kanumalli . in this we will setup the test cases in a sequential and executable format.

before execution. always the execution of the test cases takes place in a sequential and executable form but not according to their design Trainer : Kishore Kanumalli . In the above example we have changed the order of the test cases according to their execution but not according to their design.QC Material with Screenshots Naresh Technologies – Class Notes 69 Now select your test cases in the order from the test plan on the right side of the window and then click on the arrow button to setup the test lab. as shown in the below figure.

Test Execution: Once the application has developed and that has been deployed into the testing environment we need to start executing the test cases from the test lab tab in quality center. In Test Lab we can execute TC’s in 3 different ways. Continue Manual Run 3. as shown in the below figure. Run test Set 1. as shown in the below figure.QC Material with Screenshots Naresh Technologies – Class Notes 70 After completion of setup test lab once. 1. Select the Test Set. then we need to start executing the test cases on the application from test lab tab of quality center. We are using this option when we are executing TC first time Navigation: Click on the Test Lab Tab. Run Manually 2. Run Manually : By using this option we can run TC from first Step. Trainer : Kishore Kanumalli .

As shown in the below figure. As shown in the below figure.QC Material with Screenshots Naresh Technologies – Class Notes 71 Select the Test Case in that Test Set which we are going to execute and then click on RUN Button. Execute every step by comparing expected result with the actual result and give the status and click on end run button Step 1: From here we are selecting the appropriate step number for testing Trainer : Kishore Kanumalli . It opens Manual Runner Dialogue box in that select and click on the Begin Run button.

QC Material with Screenshots Naresh Technologies – Class Notes 72 Step 2 : From here we are seeing the description and opening the application and checking whether the cancel button is there are not. Step 3 : From this expected result column we are comparing that with actual result of the application and if expected result and actual result matches with each other then we are changing the status as passed else we are changing the status as fail (as shown in are In this figure we the below figure. changing the status) changing the status of the step 1 as passed because its expected result matches with the actual result (as shown in the below figure more precisely) Now you can see we have successfully run the test script and compared the expected result with actual result and they both matched with each other and we changed status as passed. Trainer : Kishore Kanumalli . then we are checking whether it is disabled or not. if it is there.

Navigation : Select Run dropdown Click on Continue Manual Run Trainer : Kishore Kanumalli . 2. Continue Manual Run : By using this option we run TC from stopped position. and always remember that if any one of the step is failed in the entire test case the test case itself is failed. now see in the above mentioned figure the test case is failed at step 2 and we have to treat this failed step as a defect and we need to report it to development team through defect reporting life cycle.QC Material with Screenshots Naresh Technologies – Class Notes 73 Now see in this figure. and if any test case is passed means it has successfully passed all the steps involved in that test case. the step 2 is failed.

QC Material with Screenshots Naresh Technologies – Class Notes 74 Click on begin Run Execute your Test Case from last stopped Step Trainer : Kishore Kanumalli .

QC Material with Screenshots Naresh Technologies – Class Notes 75 3. That is possible by using this option. But some times we need to execute all the TC’s of Test Lab at a time. RUN TEST SET : Normally we are executing one TC at a time in Test Lab. Navigation : Open Test Lab -> Select Test Set -> Click on Run Test Set -> Select Manual Runner Radio button Now First TC in Test Set will open -> Click ob begin Run Trainer : Kishore Kanumalli .

QC Material with Screenshots Naresh Technologies – Class Notes Execute All the steps in First TC 76 After completion of First TC. Second TC will open automatically -> Click ob Begin Run Now you can execute second TC also Trainer : Kishore Kanumalli .

QC Material with Screenshots Naresh Technologies – Class Notes 77 Defects Reporting: At the time of execution if there is any mismatch between the expected result and actual result we need to mark the status of the step as failed and we need to report a defect to the development team from the failed step of the test case. as shown in the below figure. Trainer : Kishore Kanumalli . Navigation: Mark the status of the step as failed. as shown in the below figure. Click on New Defect Button.

as shown in the below figure. logged into the quality center. Defect Template: It is the template which we are using to fill it as and when we identify a defect and it contains following information to be enter (see above figure for defect template).QC Material with Screenshots Naresh Technologies – Class Notes 78 It Opens New Defect Template fill in that New Defect Template and click on submit button. Trainer : Kishore Kanumalli . Detected by: It defines who identified this defect during the execution of test case and by default the name of the person will be displayed who. Summary: It defines the short cut description of the defect and also we call it as a defect name.

Detected in Version or Release: It defines in which version or release we have identified this defect Project: It defines in which project we have identified the defect. It consists of various statuses they are Low. High. the details of the detection date of the defect which. Very High and Urgent. Trainer : Kishore Kanumalli . Assigned defect. High. It has various statuses as Low. Subject: It specifies to which functionality this defect is related to. Teach Lead or It Coordinator: It defines the development lead name.QC Material with Screenshots Naresh Technologies – Class Notes 79 Severity: This is nothing but the seriousness of the defect with respect to the functionality. Medium. Very High and Urgent. Note : Along with above content. we are reporting the defect to development team. If it is Reproducible-Y then the defect is occurring every time and if it is Reproducible-N then the defect is not occurring every time. we are also having below contents in real time Defect Template Client: It defines to which client we are assigning this defect. Detected on Date: It gives. Reproducible: It defines ho the defect is occurring during execution. by default when we are reporting the defect the status will be always NEW. Status: It defines the status of the defect. Test Coordinator: It defines the test lead. Business Analyst: It defines the business analyst who is responsible for this defect. To: It defines to whom we are reporting this Priority: It defines how soon development team has to respond to the defect. Medium.

Defect Reporting Standards: 1. There should not be any spelling mistakes and grammatical mistakes. After reporting the defect template click on the submit button and then click on the End Run Button (as shown in the below figure) Now you can see that the step is clearly indicates that its status as Filed as shown in the below figure.QC Material with Screenshots Naresh Technologies – Class Notes Checklist 80 Document :Before starting executing the test cases we will be receiving a checklist document which contains entire information about the project like developers. Assigned to the appropriate person. Screen shots should be attached. 5. 3. 6. 4. business analyst etc. testers. Trainer : Kishore Kanumalli . Once we fill the defect template we need to attach the screen shots of the defect and also specifies the test data which we used to test this defect along with brief description about the defect and click on submit. 2. Defect description should be clear and should not be lengthy. client. Provide the test data. Provide the brief description about the defect.

And also we can report defects from defects tab. That is the reason we are reporting defects only from Failed step of the TC in Test Lab Tab. After consolidate. Trainer : Kishore Kanumalli . as shown in the below figure.QC Material with Screenshots Naresh Technologies – Class Notes QC. select the columns in excel sheet like below. 81 Defects Tab: We are using this Tab to manage the defects in Note : We are not reporting defects from defects tab. Because if we report defect from defects Tab. Exporting Test Cases from Excel to QC : Prepare the test cases in the excel sheet. But at the time of exporting. we need to consolidate all the TC’s in single sheet like below. there is no link between TC and Defect. Dashboard Tab : Only Project Managers having the access to Dashboard tab to monitor the QC tabs. Normally we are preparing TC’s in individual sheets.

It opens Quality center connection dialogue box. you can get that address by opening the quality center. Then click on Next Trainer : Kishore Kanumalli .QC Material with Screenshots Naresh Technologies – Class Notes 82 Go to tools and click on Export to Quality Center. in that enter the server address (Note: this address may be different from one system to another system so please see the server address in your own systems. please do not copy the same address which the below figure is showing it is my systems server address). as shown in the below figure. as shown in the below figure. in that there is an address bar in that you can find the server address.

Trainer : Kishore Kanumalli . Give your domain name and project name and click on next. as shown in the below figure.QC Material with Screenshots Naresh Technologies – Class Notes 83 It opens QC User ID dialogue box in that enter the User ID and Password and click on next. as shown in the below figure (here in the example I am enter abc as it is the registered user in my system please do not enter abc and find out the registered user in you quality center and provide that details).

QC Material with Screenshots Naresh Technologies – Class Notes 84 Select the appropriate Tab to which you want to export. as shown in the below figure. as shown in the below figure. Trainer : Kishore Kanumalli . Then click on Next In this step give your map name and click on Next.

as shown in the below figure. In this step map the name with the column name of the excel sheet.QC Material with Screenshots Naresh Technologies – Class Notes 85 Here select the appropriate field and click on > button as shown in the below figure. Trainer : Kishore Kanumalli .

Then click the quality center and go to Test whether your TC’s are uploaded to this Plan tab of QC. as on finish and open Plan tab and see tab Trainer : Kishore Kanumalli .QC Material with Screenshots Naresh Technologies – Class Notes 86 Now your TC’s are uploaded to the Test shown in the below figure.

QC Material with Screenshots Naresh Technologies – Class Notes Connecting QC from QTP: Prepare Test Script in QTP like below 87 Go to file menu and click on QC Connection Specify the url of QC and click on Connect Trainer : Kishore Kanumalli .

QC Material with Screenshots Naresh Technologies – Class Notes Specify Username and Password like below 88 Select Domain and Project and click on Login button like below Trainer : Kishore Kanumalli .

QC Material with Screenshots Naresh Technologies – Class Notes Now you can see the connection symbol in QTP window 89 Now you can save your Test Script in Test Plan Tab in QC Trainer : Kishore Kanumalli .

QC Material with Screenshots Naresh Technologies – Class Notes 90 Now you can able to see QC Test Plan icon when you are trying to save your Script Once you save your Script you can able to see your scrpt in Test Plan Tab in QC Trainer : Kishore Kanumalli .