Beruflich Dokumente
Kultur Dokumente
2
Training Material
Course Objectives
Specify Requirements
Test Planning
Test Execution
Defect Management
¾Design and Build Test Case, Test Script and Test Plan.
Course Objectives
Specify Requirements
Test Planning
Test Execution
Defect Management
Intended Users :
• Serves as a central repository for all your testing assets and provides a clear
foundation for the entire testing process.
• Establishes seamless integration and smooth information flow from one stage of
the testing process to the next.
• Supports the analysis of test data and coverage statistics, to provide a clear
picture of an application’s accuracy and quality at each point in its lifecycle.
QC Modules
Agenda
Course Objectives
Specify Requirements
Test Planning
Test Execution
Defect Management
Specify Releases
Helps in aligning the business priorities and quality expectations of a
business unit with the project requirements test and defects.
Specify requirements
Identify and validate the functional and performance requirements that need to
be tested.
Testing Process(Cont…)
Course Objectives
Introduction to Quality
Specify Requirements
Test Planning
Test Execution
Defect Management
• What is the difference between tying a requirement to a release and in tying a requirement
to a cycle?
Agenda
Course Objectives
Specify Requirements
Test Planning
Test Execution
Defect Management
Defining requirements clearly and correctly at the beginning has the following advantages:
• To create a child requirement of type Folder, what must be the type of parent
requirement?
• To modify the details of requirement using a specific font and format, which view of the
requirement module must use?
• Which view of the requirement module enables you to edit multiple requirements?
• When you assign a requirement to a cycle is it tested in all cycles with in the release?
Agenda
Course Objectives
Specify Requirements
Test Planning
Test Execution
Defect Management
¾DETAILS tab: To enter descriptions for the subject folders and tests.
¾DESIGN STEPS tab: To specify the steps for each test.
¾TEST SCRIPT tab: To design scripts for automated tests.
¾ATTACHMENTS tab: To add attachments to subject folders or specific tests.
¾REQ COVERAGE tab: To link tests to requirements.
¾LINKED DEFECTS tab: To link tests to defects.
Test Plan (Creating Test Cases)
To define a test step:
1. Open the TEST PLAN module.
2. Select a test and click its DESIGN STEPS tab.
3. Click NEW STEP. The DESIGN STEP EDITOR dialog box appears.
4. Type a name for the step in the STEP NAME field.
5. In the DESCRIPTION field, type the instructions that need to be carried out in this step.
6. In the EXPECTED RESULT field, type a description of what should be expected after this step is
completed.
7. Click OK when done. The test steps appear in the DESIGN STEPS tab.
Test Plan (Test Requirement Relationship)
To link test to a requirement:
• From the REQUIREMENTS module, click VIEW from the menu bar and select
REQUIREMENTS COVERAGE from the menu.
• From the REQUIREMENTS tree, select a requirement.
• From the TEST COVERAGE tab, click SELECT. The TEST PLAN TREE tab appears on
the right side of the screen.
• Select a test from the TEST PLAN TREE tab and click the ADD TO COVERAGE button
to add the test to the TEST COVERAGE grid.
Knowledge Check
• What are the different ways of creating test plan tree?
• What are the various types of tests can be created?
• What is a template test and what all can defined as template tests?
Test Plan (Test Requirement Relationship)
To link requirement to a test:
• From the TEST PLAN tree, select a test.
• Click the REQ COVERAGE tab.
• Click the SELECT REQ button. REQUIREMENTS tree appears on the right side of the screen.
• Select a requirement from the REQUIREMENTS tree.
• Click the down arrow of the ADD TO COVERAGE button to open a list containing two options for
linking requirements.
• To link the requirement and all of its child requirements, select ADD TO COVERAGE (INCLUDE
CHILDREN). To link only the selected requirement, select ADD TO COVERAGE (WITHOUT
CHILDREN). The selected requirement appears in the REQ COVERAGE grid.
Test Plan (Test Defect Relationship)
Course Objectives
Specify Requirements
Test Planning
Test Execution
Defect Management
2. What are the rules that you can use to define dependency between test executions?
3. When you run a test on a remote host group, is the test executed on all the hosts
available in the group?
Agenda
Course Objectives
Specify Requirements
Test Planning
Test Execution
Defect Management
Updating Defect:
• In the Defects Grid, double-click the
defect you want to update.
Alternatively, select the defect and
click the Defect Details
• Update the required data fields
• Click OK to save the changes
Filtering Defect:
• In the DEFTECTS GRID under the
STATUS column, click the browse button,
The SELECT FILTER CONDITION dialog
box appears.
• In the SELECT FILTER CONDITION
dialog box, select the filter condition
(Open/New/Reopen..)
• Click OK to close the SELECT FILTER
CONDITION dialog box
Linking Defects To Requirement/Test Plan/Test Case
• Open the REQUIREMENTS module, Select VIEW → REQUIREMENTS COVERAGE
• Click the requirement to which you want to add a defect
• Click the LINKED DEFECTS tab. Click ADD AND LINK DEFECT. The NEW DEFECT dialog
box appears
• Type the appropriate information in the required fields. Click SUBMIT to add the defect
• (Note 1: To add an existing defect to a requirement, click LINK EXISTING DEFECT arrow and
click SELECT. Type the defect ID in the DEFECT ID field to link an existing defect to the
requirement)
• (Note 2: Similarly defects can be linked to Test Plan, Test Case or Test Run by selecting the
appropriate module in step 1 above )
Review Questions
1. What are the different entities with which defects can be directly associated?
2. Consider a test and its instance. A defect is associated with the test instance. During the
testing process, the association between the test instance and the defect is removed.
Does any association still exist between the test and defect?
3. If you log a defect for a child requirement, is the defect associated to the parent
requirement?
Agenda
Course Objectives
Specify Requirements
Test Planning
Test Execution
Defect Management
Report Options:
• ANALYSIS menu: To collate data specific to a module and create reports and graphs
using this data
• DOCUMENT GENERATOR (from the TOOLS menu): To export data from QC to
Microsoft Word. The DOCUMENT GENERATOR tool enables you to catalog your
testing data into a formatted Word document window.
Reports and Graphs
Generating Report/Graph:
• From the menu bar, select ANALYSIS → REPORTS/GRAPHS. A new menu appears
that lists the types of reports/graphs available in the current module
• Click the report/graph type you want to run. After the report/graph generation task is
complete, the report/graph output is displayed in the current window.
Reports and Graphs
Report Configuration:
• From the report window, click the CONFIGURE REPORT AND SUB-REPORTS button.
• In the new pane, in PAGE section, set the number of records that you want to display on each
report page
• In the FILTER section, click the SET FILTER/SORT button. The FILTER dialog box appears.
You can define your filter and sort settings in the FILTER dialog box
• Click OK to close the FILTER dialog box
• In the FIELDS section, select the data field that you want listed in the report
• Check the appropriate check boxes for the additional settings you need
• Click APPLY to regenerate the report with the new settings
Reports and Graphs
QC Graphs:
1. SUMMARY graphs: This graph type shows the total count of requirements, tests, tests
in TEST SETS, or defects that were defined throughout the testing process
2. PROGRESS graphs: This graph type shows the accumulation of requirements, tests,
tests in TEST SETS, or defects over a specific period
3. TREND graphs: This graph type shows the history of changes to specific fields over a
specific period
4. REQUIREMENTS COVERAGE graphs: It shows the total count of requirements,
grouped by test coverage status.
5. DEFECTS AGE graphs: It summarizes the lifetime of all reported defects. The lifetime of
a defect begins when it is reported, and ends when it is closed
Reports and Graphs
Customizing Graph:
• Use the SET GRAPH APPEARANCE button to modify a graph layout
• Use the EDIT CATEGORIES button to select which data to plot and how to organize the
data in a graph. Alternatively, you can use the options on the right side of the window to
change the x-axis, y-axis, and data group settings of the graph
• Use the COPY GRAPH TO CLIPBOARD and PRINT GRAPH buttons to reuse a graph
• Use the REFRESH button to adjust a graph to display the latest data and settings
• Use the DESCRIPTION tab to enter annotations about a graph. Note that this tab is only
editable for graphs that are saved as favorite views
• Navigate to the PIE CHART tab to see how data from a BAR CHART is translated to a
PIE CHART. Note that this tab is only available for SUMMARY and REQUIREMENTS
COVERAGE graph types
Thank You