Learn & Master - HP Quality Center
Chapters Being Covered
➢ Chapter - 1: Introduction to HP Quality Center.
➢ Chapter - 2: Release Management Module.
➢ Chapt...
HP Quality Center - Introduction
➢ HP Quality Center is a test management tool.
➢ It offers an organized framework for tes...
Why Quality Center
• One stop shop for all testing related tasks.
• Coherence of different tasks.
• Better analysis and ma...
➢ It can be attached to our email system so that the information about
the defect can be supplied to all people concerned....
Test Management Process
Specify
Requirements
Plan/Create Tests
Execute Tests
Track defects
Analysis
Report and Graph
Gener...
Quality Center Modules
The quality center has following basic modules.
➢ Releases
➢ Requirements
➢ Test Plan
➢ Test Lab
➢ ...
Quality Center Add- ins
➢ At times Quality center responds slow due to the client server nature
of application. The respon...
Chapter - 2:
HP Quality Center
Release Management Module
HP Quality Center – Release Management
➢ The application testing process begins by defining a release tree in
Releases mod...
➢ The foundation of the release module is the Release Tree.
➢ Release Tree enables the modeling of the upcoming releases
w...
For example, suppose you are defining upcoming releases for
the sample Mercury Tours application. The Mercury Tours
Applic...
QA manager also can assign Start date and End date for each cycle.
Defining Releases and Cycles
Assigning Requirements
After defining the releases and cycles, the QA manager assigns the
Requirements from requirement mo...
Enter the details of Target Cycle and Target Release.
Assigning Requirements
Assigning and Running Tests
Once requirements are assigned, Each Test set folder from
Test Lab module is assigned to each ...
Once Test set folders are assigned to cycles, Test sets
are run under these folders.
Assigning and Running Tests
If an application flaw is detected while running a test set, the QA
engineer can submit a defect. Quality Center automatic...
• Following test runs, the QA manager reviews the test progress to
determine how well it meets the release goals.
• The QA...
Chapter - 3:
HP Quality Center
Test Plan Module
➢ What is Test Plan module?
➢ Test Plan Tree structure
➢ Designing Tests
➢ Parameters
➢ Export / Import Test case
Topics B...
Quality Center - Test Plan
Test Plan
➢ It is a repository of test cases.
➢ Can be accessed through the Test
Plan section i...
Developing a Test Plan consists of the
following Steps:
Quality Center - Test Plan
Test Plan Module
Key elements in the Test Plan Module are
➢ Developing a Test Plan Tree
➢ Designing Tests
➢ Designing Test...
Developing a Test Plan Tree
To Create a Test plan Tree:
➢ Go to Tests>New Folder
➢ On New Folder dialog provide the
requir...
Designing Tests
Adding a test to the subject folder.
Available test type:
➢ Manual
➢ Business Process
➢ WR_Automated
➢ LR_...
➢ MANUAL:A Quality Center manual test.
➢ WR-AUTOMATED: A test that is executed by WinRunner, HP's
functional testing tool ...
➢ The new test is added to
the test plan tree under
subject folder
➢ Add a test Description.
➢ In the Details tab, you
can...
Designing Test Steps
Designing Test Steps:
➢ Goto Design Steps tab of
created Test
➢ Click the Design Steps
tab.
➢ Click t...
➢ Define a step for displaying Yahoo login page
➢ Step Name: Display yahoo Login Page.
➢ Description: Launch a browser and...
➢ To create an another step click on New Step icon
➢ Define a step for displaying Yahoo login(Example) page
➢ Step Name: U...
Copying Test Steps
➢ Display the Design Steps tab for yahoo_Login(Example)
➢ Click the Design Steps tab.
➢ Select the step...
Requirements Coverage
In the Test Plan module, you create requirements coverage by
selecting requirements to link to a tes...
Linking Requirements to a Test
➢ Display the Yahoo_Search test.
➢ Display the Req Coverage tab.
➢ Display the requirements...
Chapter - 4:
HP Quality Center
Test Lab Module
Topics Being covered
➢ Introduction
➢ Creating Test Sets
➢ Executing Test Sets
➢ Analyzing Results
➢ Linking Activities
➢Test Lab module is used to run the test cases.
➢The Test run process begins with creating the Test Set Tree and
➢running ...
Process Flow
Create a Test Set
➢ Select the Test Lab module
➢ Click on Create Folder icon at the left corner of the module and give the...
➢ Test Set Properties Window:
➢ The ‘Details’ tab enables to give the estimated open date of test
and estimated close date...
➢ ‘On failure’ tab enables to set the conditions if any of the
automation test fails. Conditions are like stop the test se...
Execution Grid Window:
In the execution grid we can select the tests to be executed from test plan. Tests
can be either ma...
• If it is a manual test and that test is having some parameters,
parameters of the test window will open while dragging t...
• We can add any number of instances of a test in single test set.
• Drag all required tests in a flow.
Create a Test Set
The default status of all the tests in test set will be ‘No Run’.
Create a Test Set
➢ Specify the Execution Flow:
➢ The execution flow tab gives the Order and flow of
execution of tests.
➢ you can specify a...
➢ To specify a date constrain double click on the test, in the ‘Run
Schedule’ dialog box select time dependency tab and sp...
➢ Now we can see a time clock is shown in execution flow to
signify a particular test is scheduled.
Create a Test Set
• To specify a condition double click a test, select the
execution condition tab in ‘Run Schedule’ window.
• Click on ‘New...
• Now we can observe the flow of test is changed.
• Now the notification will be sent to the assigned tester to
start test...
➢ Test Run can be in two ways:
• Manual Run
• Automatic
➢ Manual Run: To execute a manual test.
➢ Automatic: To execute au...
➢ Executing Manual Tests:
➢ Select a manual test in the set.
➢ Click on Icon to start the execution.
Running The Tests
• Select the tester that who is executing the current test. By default it
will be current username of QC.
• If you want yo...
• Once execution begins the steps are shown with default status ‘No Run’.
• Click on ‘Compact View’ icon to see the descri...
• Execute all the steps and enter actual results for all the steps.
• Click on Compact View icon again, to come back to st...
Now change the status of all the steps based on actual result.
Click on ‘End Run’ icon to close the execution
Running The ...
After the execution:
Running The Tests
• Automation scripts can be executed as a set or can be executed
as individual.
• To execute as a test click on ‘Run test ...
• To execute the script on a Remote machine, enter the remote
machine name in ‘Run on Host’ column.
• To execute locally s...
Once the execution is completed , an email will be sent to the specified user.
if the notification has been selected in te...
• Double click a test in the test set to open Test instance
properties window.
• Select the run name and click on ‘Launch ...
• Click on the ‘Linked defects’ icon.
Linking Defects
➢ To create and link a new defect click ‘Add and link defect’ icon.
➢ It will open defects module, create a defect and sav...
➢ To link an existing defect click on ‘link an existing defect’ icon.
➢ Link can be done in two ways.
➢ By defect ID
➢ By ...
Chapter - 5:
HP Quality Center
Defect Management
Defect Management using QC
➢ Locating and repairing defects is an essential phase in testing.
Analyzing defects and issues...
Defect Management using QC
➢ The following things can be done in the defects module of Quality
Center:
➢ Tracking defects ...
Tracking defects
➢ When you submit a defect to a
Quality Center project, it is tracked
through these stages: New, Open,
Fi...
The Defects Toolbar
The Defects Toolbar
New Defect entry
Selecting “New
Defect” button in
Defect section creates
a new bug. All fields
marked by (*) or in red
are...
Reviewing open defects
Various ways to
search defects in
Quality center (using
columns, search, or
favorites).
Double clic...
Matching Defects
➢ Matching defects enables you to
eliminate duplicate or similar
defects in your project. Each time
you a...
Updating Defect in Quality Center
When a defect needs
updated go to Defect
Details page.
Change appropriate
fields.
Add co...
Mailing Defects
On the Defect Details
page click on the send
email button.
Send email dialog opens.
Enter valid To address...
Linking Defects
• A Defect can be linked directly or indirectly to an entity.
• When you add a defect from a test step a Q...
Filter / Sort Defects
In the Defect module you can set filter to view defects with some condition.
For ex: Defects detecte...
Filter / Sort Defects
The filter condition dialog opens with list of all users in the QC. Select the
username and click ok...
Creating Favorite views for defects
On the Defects module, select “Add
favorite” from the Favorites Menu
(available in the...
Viewing Favorite views for defects
On the Defects module, select the list saved as favorites from the
“Favorite” dropdown....
Chapter - 6:
HP Quality Center
Reports
➢Introduction
➢Available Reports and Sub Reports
➢Generating Reports
➢Customizing Reports
➢Document generator
➢Excel Repor...
Generating Reports
Generating Reports
➢ Quality Center reports can be
generated from each
Quality Center module.
➢ Report ...
Generating Reports
About Generating Reports
➢ You can generate reports at any time during the testing process.
➢ Reports c...
Requirement module reports
Requirement module reports
The following reports are available with Requirement module reports
...
Requirement module reports
Requirement module reports
Requirements with Coverage Tests and Steps Lists the requirements
th...
Test plan module reports
Test plan module reports
➢ Standard Test Planning Lists the tests in the test plan tree.
➢ Subjec...
Test Lab Module Reports
Test Lab Module Reports:
➢ Current Test Set Lists the tests that appear in the current test set.
➢...
Test Lab Module Reports
Test Lab Module Reports:
➢ Current Test Set with Failed Test Runs Lists tests from the current
tes...
Defects Module Reports
Defects Module Reports:
➢ Standard Defects Lists the defects that appear in the project.
➢ Tabular ...
Defects Module Reports
Defects Module Reports:
➢ Fixed or Rejected Defects Detected by Current User Lists
defects with "fi...
Available Sub Reports
➢ Each report can contain sub-reports. In addition, sub-reports
themselves might contain other sub-r...
➢ Related Defects Lists related defects for each subject in a test plan
tree
➢ Related Requirements Lists the requirements...
➢ Linked Entities List all entities that are linked to a defect.
➢ Parent Test Lists the parent test of a test.
➢ Related ...
Creating Reports
Creating Reports:
You can create a report from
the Requirements, Test Plan,
Test Lab, and Defects
modules...
Creating Reports
To create a report:
➢ Select the Quality Center
module from which you want
to create a report.
➢ Choose A...
You can click the First Page button to display the first page of the report, or
the Previous Page button to display the pr...
To save your report, click the Save arrow and choose Current Page or All
Pages. The Save Web Page dialog box opens. Change...
To save the settings of your report as a favorite view, click the Add to
Favorites button. For more information, see Chapt...
Creating Quick Reports
➢ You can create a quick report for
specific records. In addition, in
the Requirements module you
c...
To create a quick report:
➢Select the requirements, tests, or
defects for which you want to create
a report. To create a r...
Create the report using one of the following options:
➢ To create a report for the selected records, choose Analysis > Rep...
To customize a report:
Select the Quality Center module from
which you want to generate a report.
Choose Analysis > Report...
➢ In the Reports list, select a main report or a sub-report. The Report
Configuration pane displays the available options....
➢ Under Filter, you can define or clear filters and sorting priorities:
Click the Set Filter/Sort button to filter and sor...
Grid View Displays the report as a grid.
Attachments Displays a list of associated attachments.
History Displays a list of...
Show Paragraph Number Displays the assigned hierarchical numbers
to each requirement in the tree. Note that the numbers ar...
Document Generator
The Quality Center Document
Generator enables you to create
a Microsoft Word document
containing a proj...
Document Settings:
Select a check box in the
Document Generator tree.
Following information's
can be given.
But not mandat...
➢ Options:
Document Generator
Customization:
For page setup
Document Generator
➢ Logo:
Document Generator
➢ Generated Document:
Example
Document Generator
Excel Reports
Excel Reports:
➢ New Feature in 9.2 version.
➢ Enables user to export QC data to Microsoft Excel
➢ Export th...
Launching The Excel Report
Generator
Goto Tools>Excel Reports
The Excel Report Generator consists of the
following key ele...
➢ Query tab. Enables you to define and test SQL queries that extract data
from the Quality Center project database to Exce...
Creating Excel Reports
➢ Add the report to the Excel Reports tree
➢ Define which data to include in the report
through SQL...
Thank You
Alm qc 11_training
Upcoming SlideShare
Loading in …5
×

Alm qc 11_training

3,183 views

Published on

Published in: Education, Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
3,183
On SlideShare
0
From Embeds
0
Number of Embeds
18
Actions
Shares
0
Downloads
170
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Alm qc 11_training

  1. 1. Learn & Master - HP Quality Center
  2. 2. Chapters Being Covered ➢ Chapter - 1: Introduction to HP Quality Center. ➢ Chapter - 2: Release Management Module. ➢ Chapter - 3: Test Plan Module. ➢ Chapter - 4: Test Lab Module. ➢ Chapter - 5: Defect Management Module. ➢ Chapter - 6: Reports Module.
  3. 3. HP Quality Center - Introduction ➢ HP Quality Center is a test management tool. ➢ It offers an organized framework for testing applications. ➢ It is a web based application which manages all aspects of testing process which otherwise is a time consuming activity. ➢ It helps maintain a project database of tests that cover all aspects of application functionality.
  4. 4. Why Quality Center • One stop shop for all testing related tasks. • Coherence of different tasks. • Better analysis and management. • Easier to track
  5. 5. ➢ It can be attached to our email system so that the information about the defect can be supplied to all people concerned. For example Developers, persons in customer support and quality assurance personnel. ➢ This can be integrated with automated tools like Winrunner, QTP, Load runner so that we can get a fully automated application testing. ➢ Graphs and reports can be generated to analyze the information. HP Quality Center - Introduction
  6. 6. Test Management Process Specify Requirements Plan/Create Tests Execute Tests Track defects Analysis Report and Graph Generation
  7. 7. Quality Center Modules The quality center has following basic modules. ➢ Releases ➢ Requirements ➢ Test Plan ➢ Test Lab ➢ Defects Additional modules ➢ Business components ➢ Dash board
  8. 8. Quality Center Add- ins ➢ At times Quality center responds slow due to the client server nature of application. The response depends on many parameters like network configurations, geographical locations of testing team, load on system etc. ➢ To overcome the network problems test wares can be first created in Microsoft word or Excel and then uploaded in QC. ➢ To upload MS word document QC needs Microsoft word add-in ➢ To upload Excel document QC needs Microsoft Excel add-in ➢ To connect to QTP, needs QTP Add-in.
  9. 9. Chapter - 2: HP Quality Center Release Management Module
  10. 10. HP Quality Center – Release Management ➢ The application testing process begins by defining a release tree in Releases module. Here is the release management work flow. Assign Defects Define Releases and Cycles Assign Requirements Assign and run Test sets Analyze Releases and Cycles
  11. 11. ➢ The foundation of the release module is the Release Tree. ➢ Release Tree enables the modeling of the upcoming releases within a hierarchical tree structure. ➢ A project manager starts by defining a release folder along with its releases. A release represents a group of changes in one or more applications that will be available for distribution at the same time. ➢ After defining the release, a QA manager defines cycles. A cycle is a set of development and quality assurance efforts performed to achieve a common goal based on the release timeline. Defining Releases and Cycles
  12. 12. For example, suppose you are defining upcoming releases for the sample Mercury Tours application. The Mercury Tours Application folder contains Release 10.5. This release includes four cycles. You might define the releases and cycles in the releases tree as follows: Defining Releases and Cycles
  13. 13. QA manager also can assign Start date and End date for each cycle. Defining Releases and Cycles
  14. 14. Assigning Requirements After defining the releases and cycles, the QA manager assigns the Requirements from requirement module to Releases and Cycles.
  15. 15. Enter the details of Target Cycle and Target Release. Assigning Requirements
  16. 16. Assigning and Running Tests Once requirements are assigned, Each Test set folder from Test Lab module is assigned to each cycle.
  17. 17. Once Test set folders are assigned to cycles, Test sets are run under these folders. Assigning and Running Tests
  18. 18. If an application flaw is detected while running a test set, the QA engineer can submit a defect. Quality Center automatically creates a link between the test run, associated release and cycle, and the new defect. Assigning Defects
  19. 19. • Following test runs, the QA manager reviews the test progress to determine how well it meets the release goals. • The QA manager can also determine how many defects were resolved, and how many still remain open. The results can be analyzed at a release or at a cycle level. • It also helps track the progress of the testing process in real time by analyzing the releases tree and ensuring that it matches the release goals. Analyzing Releases and Cycles
  20. 20. Chapter - 3: HP Quality Center Test Plan Module
  21. 21. ➢ What is Test Plan module? ➢ Test Plan Tree structure ➢ Designing Tests ➢ Parameters ➢ Export / Import Test case Topics Being covered
  22. 22. Quality Center - Test Plan Test Plan ➢ It is a repository of test cases. ➢ Can be accessed through the Test Plan section in the Quality Center ➢ Uses Subject (Root)-Folders-Test Model ➢ Folder or Test name can be # Module name # Scenario name # Functionality name ➢ Test Plan starts after requirements are baselined
  23. 23. Developing a Test Plan consists of the following Steps: Quality Center - Test Plan
  24. 24. Test Plan Module Key elements in the Test Plan Module are ➢ Developing a Test Plan Tree ➢ Designing Tests ➢ Designing Test Steps ➢ Using parameters in tests ➢ Calling Tests ➢ Creating and Viewing Requirements Coverage ➢ Monitoring the status of test plans
  25. 25. Developing a Test Plan Tree To Create a Test plan Tree: ➢ Go to Tests>New Folder ➢ On New Folder dialog provide the required Folder name
  26. 26. Designing Tests Adding a test to the subject folder. Available test type: ➢ Manual ➢ Business Process ➢ WR_Automated ➢ LR_Scenario ➢ VAPI_XP Test ➢ System Test ➢ Alt_Scenario ➢ Quick Test_Test (Need QTP add-in)
  27. 27. ➢ MANUAL:A Quality Center manual test. ➢ WR-AUTOMATED: A test that is executed by WinRunner, HP's functional testing tool for Microsoft Windows applications. ➢ LR-SCENARIO: A scenario that is executed by LoadRunner, HP's load testing tool. ➢ QUICKTEST_TEST: A test that is executed by QuickTest Professional, HP's functional enterprise testing tool. This test type is only available if you have installed the appropriate add-in from the HP Quality Center Add-ins page. Designing Tests
  28. 28. ➢ The new test is added to the test plan tree under subject folder ➢ Add a test Description. ➢ In the Details tab, you can see the test name, test designer, creation date, test status, and other information. Designing Tests
  29. 29. Designing Test Steps Designing Test Steps: ➢ Goto Design Steps tab of created Test ➢ Click the Design Steps tab. ➢ Click the New Step button. The Design Step Editor opens
  30. 30. ➢ Define a step for displaying Yahoo login page ➢ Step Name: Display yahoo Login Page. ➢ Description: Launch a browser and enter URL as Yahoomail.com. ➢ Expected Result: Yahoo Login Page should be shown. ➢ Click OK Designing Test Steps
  31. 31. ➢ To create an another step click on New Step icon ➢ Define a step for displaying Yahoo login(Example) page ➢ Step Name: User Name & Password. ➢ Description: Enter User Name and Password. Click Login. ➢ Expected Result: User must Log on. ➢ Click OK ➢ Repeat the same to add more number of steps. Designing Test Steps
  32. 32. Copying Test Steps ➢ Display the Design Steps tab for yahoo_Login(Example) ➢ Click the Design Steps tab. ➢ Select the steps that you want to copy. ➢ Copy the selected steps. ➢ Paste the steps into the Yahoo_Search test(Example)
  33. 33. Requirements Coverage In the Test Plan module, you create requirements coverage by selecting requirements to link to a test. Alternatively, in the Requirements module, you create tests coverage by selecting tests to link to a requirement. A test can cover more than one requirement, and a requirement can be covered by more than one test.
  34. 34. Linking Requirements to a Test ➢ Display the Yahoo_Search test. ➢ Display the Req Coverage tab. ➢ Display the requirements tree. ➢ Click the Select Req button and expand the requirements tree displayed on the right. ➢ Add the Child1 requirement to the coverage grid. ➢ Hide the requirements tree. Click the Close button.
  35. 35. Chapter - 4: HP Quality Center Test Lab Module
  36. 36. Topics Being covered ➢ Introduction ➢ Creating Test Sets ➢ Executing Test Sets ➢ Analyzing Results ➢ Linking Activities
  37. 37. ➢Test Lab module is used to run the test cases. ➢The Test run process begins with creating the Test Set Tree and ➢running the tests. ➢Initially a Test Set Folder is created. ➢Depending on the testing goals you can add Tests to the Test Folder. ➢Test sets can contain both manual and automated Test. ➢We can include the same Test in different Test Sets or add a few Test instances to the same Test Set. ➢We can schedule date and time for the execution of Test Sets. Test Lab
  38. 38. Process Flow
  39. 39. Create a Test Set ➢ Select the Test Lab module ➢ Click on Create Folder icon at the left corner of the module and give the name for the folder. ➢ Select the created folder and click on create test set to create a set and give name and description for the test set. ➢ A New Test Set is created. ➢ Select the Test set created. ➢ In the ‘Test set properties’
  40. 40. ➢ Test Set Properties Window: ➢ The ‘Details’ tab enables to give the estimated open date of test and estimated close date of test set. ➢ In the ‘attachments’ tab we can add an attachment to the test set. Attachment can be a file, URL, snapshot of application, and item from the clip board or system information. Create a Test Set
  41. 41. ➢ ‘On failure’ tab enables to set the conditions if any of the automation test fails. Conditions are like stop the test set, repeat the failed test or rerun the test set or do nothing. ➢ ‘Notifications’ tab enables send notifications to an user if any of the test is finished with failed status, or failed due to some network issues, or execution of test set is finished. Create a Test Set
  42. 42. Execution Grid Window: In the execution grid we can select the tests to be executed from test plan. Tests can be either manual tests or automation tests. Adding tests to test set •Select the a Test Set •Click on ‘Select tests’ icon at the top corner of the set. •Drag and drop the tests from test plan tree displayed at right corner. Create a Test Set
  43. 43. • If it is a manual test and that test is having some parameters, parameters of the test window will open while dragging the test. Parameters should be given when we execute the scripts. So we can just close ‘parameters of the test’ window, with out giving any parameters. Create a Test Set
  44. 44. • We can add any number of instances of a test in single test set. • Drag all required tests in a flow. Create a Test Set
  45. 45. The default status of all the tests in test set will be ‘No Run’. Create a Test Set
  46. 46. ➢ Specify the Execution Flow: ➢ The execution flow tab gives the Order and flow of execution of tests. ➢ you can specify a test to run on a specific date and time or based on a condition. ➢ Condition would be a test run will start only when a test is passed or finished. Create a Test Set
  47. 47. ➢ To specify a date constrain double click on the test, in the ‘Run Schedule’ dialog box select time dependency tab and specify a date and time, click ‘OK’. Create a Test Set
  48. 48. ➢ Now we can see a time clock is shown in execution flow to signify a particular test is scheduled. Create a Test Set
  49. 49. • To specify a condition double click a test, select the execution condition tab in ‘Run Schedule’ window. • Click on ‘New’ Button to create a condition. Create a Test Set
  50. 50. • Now we can observe the flow of test is changed. • Now the notification will be sent to the assigned tester to start testing of specified test on the scheduled day and time. • The second can not be executed unless the previous test is finished, because we did set condition in previous steps. Select the ‘Test’ and ‘Condition’, click on ‘OK’ icon. Create a Test Set
  51. 51. ➢ Test Run can be in two ways: • Manual Run • Automatic ➢ Manual Run: To execute a manual test. ➢ Automatic: To execute automation script (s). Running The Tests
  52. 52. ➢ Executing Manual Tests: ➢ Select a manual test in the set. ➢ Click on Icon to start the execution. Running The Tests
  53. 53. • Select the tester that who is executing the current test. By default it will be current username of QC. • If you want you can rename the ‘Run Name’ • Then click on ‘Begin Run’ Icon. • When run begins it will ask for the parameter values if you have any parameters while creating the tests in test plan. • Give the parameter values and click on ‘OK’ Button. Running The Tests
  54. 54. • Once execution begins the steps are shown with default status ‘No Run’. • Click on ‘Compact View’ icon to see the description, expected values and to add Actual results. • You can view the expected result, but can not modify. Running The Tests
  55. 55. • Execute all the steps and enter actual results for all the steps. • Click on Compact View icon again, to come back to steps grid. Running The Tests
  56. 56. Now change the status of all the steps based on actual result. Click on ‘End Run’ icon to close the execution Running The Tests
  57. 57. After the execution: Running The Tests
  58. 58. • Automation scripts can be executed as a set or can be executed as individual. • To execute as a test click on ‘Run test set’ Icon. • Executing Automated Scripts: Running The Tests
  59. 59. • To execute the script on a Remote machine, enter the remote machine name in ‘Run on Host’ column. • To execute locally select the option ‘Run All Tests Locally’. • Execute all the tests one by one, click in Click on ‘Run All’. • To Execute Individually select a test to be executed and click in Run. • It will launch the tool and will execute the script. Running The Tests
  60. 60. Once the execution is completed , an email will be sent to the specified user. if the notification has been selected in test set properties window. Running The Tests
  61. 61. • Double click a test in the test set to open Test instance properties window. • Select the run name and click on ‘Launch report’ icon. • It will launch the Quick test report for that particular instance. Viewing Results
  62. 62. • Click on the ‘Linked defects’ icon. Linking Defects
  63. 63. ➢ To create and link a new defect click ‘Add and link defect’ icon. ➢ It will open defects module, create a defect and save it. Created defect will be linked automatically to the test instance. Linking Defects
  64. 64. ➢ To link an existing defect click on ‘link an existing defect’ icon. ➢ Link can be done in two ways. ➢ By defect ID ➢ By select the defect from defects module. ➢ Default is by defect ID. Give the defect ID and click on ‘Link’ icon. Linking Defects
  65. 65. Chapter - 5: HP Quality Center Defect Management
  66. 66. Defect Management using QC ➢ Locating and repairing defects is an essential phase in testing. Analyzing defects and issues is what helps managers make the “go/no-go” decision about application deployment. Quality Center helps tracking application defects and enabling you to monitor defects closely from initial detection until resolution. ➢ Defects gives a snapshot of the application under test and tell exactly how many defects you currently have, their status, severity, priority, age, etc.
  67. 67. Defect Management using QC ➢ The following things can be done in the defects module of Quality Center: ➢ Tracking defects (stages) ➢ Adding Defects ➢ Reviewing Defects ➢ Matching Defects ➢ Updating Defects ➢ Mailing Defects ➢ Linking Defects ➢ Filtering/Sorting Defects ➢ Creating/Viewing Favorite views
  68. 68. 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. ➢ When you initially report the status of the defect is New by default.
  69. 69. The Defects Toolbar
  70. 70. The Defects Toolbar
  71. 71. New Defect entry Selecting “New Defect” button in Defect section creates a new bug. All fields marked by (*) or in red are required. Description should have steps to recreate and test data. Attachments and screenshots can be added. Defect is submitted for tracking.
  72. 72. Reviewing open defects Various ways to search defects in Quality center (using columns, search, or favorites). Double click activity to review in detail, change status, or add comments.
  73. 73. Matching Defects ➢ Matching defects enables you to eliminate duplicate or similar defects in your project. Each time you add a new defect, QC stores lists of keywords from the Summary and Description fields. When you search for similar defects, keywords in these fields are matched against other defects. ➢ This filter can be set on the defects by using the "Find similar defects" button. ➢ The results are stored in the similar defects dialog box, sorted by the percentage of detected similarity.
  74. 74. Updating Defect in Quality Center When a defect needs updated go to Defect Details page. Change appropriate fields. Add comments. Save by selecting OK.
  75. 75. Mailing Defects On the Defect Details page click on the send email button. Send email dialog opens. Enter valid To address, Add comments and click on Send button to send email. You can also include the attachments and history of that particular defect..
  76. 76. Linking Defects • A Defect can be linked directly or indirectly to an entity. • When you add a defect from a test step a QC adds direct link to the step and indirect link to its run, test instance and requirement if the case is covered by the requirement.
  77. 77. Filter / Sort Defects In the Defect module you can set filter to view defects with some condition. For ex: Defects detected by an user. Click on the Set Filter/sort button The Filter dialog opens. Select the Detected By field and click on the browse button.
  78. 78. Filter / Sort Defects The filter condition dialog opens with list of all users in the QC. Select the username and click ok to apply the filter condition. Similarly you can select status as “Not closed”. Defects grid displays defects detected by selected user and whose status is Not closed (lists all defect status other than closed).
  79. 79. Creating Favorite views for defects On the Defects module, select “Add favorite” from the Favorites Menu (available in the Header links). In the Name field type “My detected defects” (for the above filtered defects). This favorites can be added to public or private folder. Views in public folder is accessible by all users. Views in private can be accessed by the person who created them. Select private for your defects list and click on OK to add the view name to the Favorite list.
  80. 80. Viewing Favorite views for defects On the Defects module, select the list saved as favorites from the “Favorite” dropdown. The defects detected by you with status other than closed will be displayed.
  81. 81. Chapter - 6: HP Quality Center Reports
  82. 82. ➢Introduction ➢Available Reports and Sub Reports ➢Generating Reports ➢Customizing Reports ➢Document generator ➢Excel Reports Topics Being covered
  83. 83. Generating Reports Generating Reports ➢ Quality Center reports can be generated from each Quality Center module. ➢ Report generation can be done through “Analysis” menu
  84. 84. Generating Reports About Generating Reports ➢ You can generate reports at any time during the testing process. ➢ Reports can be generated from the Requirements, Test Plan, Test Lab, and Defects modules. You can display reports using their default settings, or you can customize them. ➢ You can save the settings of your reports as favorite views and reload them as needed. You can also save your reports as text files or HTML documents. In addition, you can export report data to Microsoft Excel. ➢ You can further customize the report by adding sub-reports.
  85. 85. Requirement module reports Requirement module reports The following reports are available with Requirement module reports Report Description Standard Requirements: Lists the requirements that appear in the requirements tree. Tabular: Displays the requirements that appear in the requirements tree in a grid format. Requirements with Coverage Tests Lists the requirements that appear in the requirements tree with their tests coverage information.
  86. 86. Requirement module reports Requirement module reports Requirements with Coverage Tests and Steps Lists the requirements that appear in the requirements tree with their tests coverage information. It also displays the test steps for each tests coverage. Requirements with Linked Defects Lists the requirements that appear in the requirements tree with their linked defects. Requirements with Traceability Lists the requirements that appear in the requirements tree with their associated traced to and traced from requirements.
  87. 87. Test plan module reports Test plan module reports ➢ Standard Test Planning Lists the tests in the test plan tree. ➢ Subject Tree Lists the tests in the test plan tree by subject. ➢ Tests with Design Steps Lists the tests that appear in the test plan tree, including their design steps. ➢ Tests with Covered Requirements Lists the tests that appear in the test plan tree with their requirements coverage information. ➢ Tests with Linked Defects Lists the tests that appear in the test plan tree with their linked defects. Test plan module reports
  88. 88. Test Lab Module Reports Test Lab Module Reports: ➢ Current Test Set Lists the tests that appear in the current test set. ➢ Cross Test Set Lists the test sets that appear in the Test Sets list, without listing their tests. ➢ Test Set Hierarchy with Tests Lists the test sets hierarchically, as well as the status of each of the test sets. ➢ Cross Test Set with Tests Lists the test sets that appear in the Test Sets list, including their tests.
  89. 89. Test Lab Module Reports Test Lab Module Reports: ➢ Current Test Set with Failed Test Runs Lists tests from the current test set, with "Failed" test run status. ➢ Cross Test Set with Failed Test Runs Lists tests from all test sets, with "failed" test run status ➢ Execution Notification Lists the tests that are displayed in the current test set with the results of their last test run.
  90. 90. Defects Module Reports Defects Module Reports: ➢ Standard Defects Lists the defects that appear in the project. ➢ Tabular Defects Displays the defects that appear in the project in a grid format. ➢ Defects with Linked Tests and Runs Lists the defects with their linked tests and test run results. ➢ Fixed or Rejected Defects Lists defects with "fixed" or "rejected" status.
  91. 91. Defects Module Reports Defects Module Reports: ➢ Fixed or Rejected Defects Detected by Current User Lists defects with "fixed" or "rejected" status that were detected by the current user. ➢ Opened Defects Assigned to Current User List defects with "open" status that are assigned to the current user.
  92. 92. Available Sub Reports ➢ Each report can contain sub-reports. In addition, sub-reports themselves might contain other sub-reports. The sub-reports available depend on the type of the parent report. The following sub-reports are available: ➢ Contained Tests Lists the tests in a test set. ➢ Coverage Requirements Lists information for requirements that cover a test. ➢ Design Steps Lists the design steps for a test. ➢ Linked Defects Lists the defects that are linked to a record. ➢ Linked Entities List all entities that are linked to a defect. ➢ Parent Test Lists the parent test of a test.
  93. 93. ➢ Related Defects Lists related defects for each subject in a test plan tree ➢ Related Requirements Lists the requirements that are linked to a defect ➢ Contained Tests Lists the tests in a test set. ➢ Coverage Requirements Lists information for requirements that cover a test. ➢ Design Steps Lists the design steps for a test. ➢ Linked Defects Lists the defects that are linked to a record. Available Sub Reports
  94. 94. ➢ Linked Entities List all entities that are linked to a defect. ➢ Parent Test Lists the parent test of a test. ➢ Related Defects Lists related defects for each subject in a test plan tree. ➢ Related Requirements Lists the requirements that are linked to a defect. ➢ Requirements Coverage Lists the tests that cover a requirement. ➢ Run Steps Lists the run steps for a test run. ➢ Runs Lists all runs of a test. Available Sub Reports
  95. 95. Creating Reports Creating Reports: You can create a report from the Requirements, Test Plan, Test Lab, and Defects modules. Depending on the current module, you have different report options. You can use the default report or customize it to meet your needs.
  96. 96. Creating Reports To create a report: ➢ Select the Quality Center module from which you want to create a report. ➢ Choose Analysis > Reports, and select the type of report you want to create
  97. 97. You can click the First Page button to display the first page of the report, or the Previous Page button to display the preceding page You can click the Next Page button to display the subsequent page of the report, or the Last Page button to display the final page. To customize your report, click the Configure Report and Sub-Reports button. To regenerate the report so that it displays the most up-to-date data, click the Generate report button. To print your report, click the Print arrow and choose Current Page or All Pages. The Print dialog box opens. Change the printer settings if necessary. Click Print. Creating Reports
  98. 98. To save your report, click the Save arrow and choose Current Page or All Pages. The Save Web Page dialog box opens. Change the file name if necessary. To save the report in its original format, select Web Page, complete in the Save as type list. To save it as a text file, select Text File and click Save. To export the report data to Microsoft Excel, right-click the report and choose Export to Microsoft Excel. Excel must be installed on your machine to export report data to Excel. Creating Reports
  99. 99. To save the settings of your report as a favorite view, click the Add to Favorites button. For more information, see Chapter 6, “Working with Favorite Views.” Click Close to close the report and return to the current Quality Center module. Creating Reports
  100. 100. Creating Quick Reports ➢ You can create a quick report for specific records. In addition, in the Requirements module you can create a quick report for a requirement and its children. ➢ Note: You cannot view a quick report for multiple nodes in the test plan tree. Creating Quick Reports
  101. 101. To create a quick report: ➢Select the requirements, tests, or defects for which you want to create a report. To create a report for more than one record, press the Ctrl key and select the records for which you want to create a report. Creating Quick Reports
  102. 102. Create the report using one of the following options: ➢ To create a report for the selected records, choose Analysis > Report Selected. Alternatively, right-click the records and choose Report Selected. The report opens with data for the selected records displayed. ➢ In the Requirements module, to create a quick report for a requirement and its children, choose Analysis > Report Selected with Children. Alternatively, right-click the requirement and choose Report Selected with Children. The report opens with data for the selected requirement and its Creating Quick Reports
  103. 103. To customize a report: Select the Quality Center module from which you want to generate a report. Choose Analysis > Reports and select the report you want to customize. The report opens with default data displayed. Click the Configure Report and Sub-Reports button to customize your report. The Report Configuration page opens with the default options displayed. Customizing Reports
  104. 104. ➢ In the Reports list, select a main report or a sub-report. The Report Configuration pane displays the available options. ➢ Under Page, you can set the number of items per display page (available for the main report): ➢ To limit the number of items per page, select Limit items per page to and specify the number of items per page. To display all items in one page, select All items in one page. ➢ Under Template, you can use the Quality Center default report template or your own template. (This option is available for the main report only.) Customizing Reports
  105. 105. ➢ Under Filter, you can define or clear filters and sorting priorities: Click the Set Filter/Sort button to filter and sort your data according to criteria you choose. Click the Clear Filter/Sort button to clear all the filters and sorting priorities. Select All Fields (auto-layout) to display all fields in the report. Select Custom Fields (layout), and click the Select Fields button to choose the fields and set their order. You can also select the following options. Note that not all options are available in all modules. Customizing Reports
  106. 106. Grid View Displays the report as a grid. Attachments Displays a list of associated attachments. History Displays a list of all the changes made to a requirement, test, or defect. Keep Parent-Child Order Displays the requirement topic with the child requirement below it. Selecting this option disables your defined filters and sorting priorities. Customizing Reports
  107. 107. Show Paragraph Number Displays the assigned hierarchical numbers to each requirement in the tree. Note that the numbers are not related to the unique Req ID assigned to each requirement. Rich Text Includes rich text for the requirements in the report. Show Full Coverage Displays the tests coverage for each requirement ➢ To add a sub-report, click the Add Sub-Report button. In the Type list, select ➢ a sub-report type and click OK. The sub-report is added to the Reports list. ➢ To delete a sub-report, select the sub-report and click the Delete Sub-Report button. ➢ Click the Apply button to generate a new report. Customizing Reports
  108. 108. Document Generator The Quality Center Document Generator enables you to create a Microsoft Word document containing a project's requirements, planning, test list, test set folders, and defect tracking data. Note: The Document Generator can only be run if Microsoft Word has been enabled to run macros. You can create the document by performing the following tasks: # Set document format. # Specify document content. # Generate and edit the document.
  109. 109. Document Settings: Select a check box in the Document Generator tree. Following information's can be given. But not mandatory. ➢Title Name ➢Author ➢Mail ➢Description Document Generator
  110. 110. ➢ Options: Document Generator
  111. 111. Customization: For page setup Document Generator
  112. 112. ➢ Logo: Document Generator
  113. 113. ➢ Generated Document: Example Document Generator
  114. 114. Excel Reports Excel Reports: ➢ New Feature in 9.2 version. ➢ Enables user to export QC data to Microsoft Excel ➢ Export the data to Excel by defining SQL queries on the Quality Center project database. After the data has been exported, you can also run a Visual Basic script on the data within Excel to process and analyze the data. This feature provides you with increased flexibility when analyzing Quality Center data.
  115. 115. Launching The Excel Report Generator Goto Tools>Excel Reports The Excel Report Generator consists of the following key elements: ➢ Excel Reports toolbar. Contains buttons for commands commonly used when creating and modifying Excel reports. ➢ Excel Reports tree. Located in the left pane, displaying available reports for the project. ➢ General tab. Contains basic data about a report. Excel Reports
  116. 116. ➢ Query tab. Enables you to define and test SQL queries that extract data from the Quality Center project database to Excel ➢ Post-processing tab. Enables you to define a Visual Basic script to run in Excel after report data has been exported. ➢ Generation Settings tab. Enables you to define settings for generating a report. ➢ Public. Reports in this folder are available to all users of the project. ➢ Private. Reports in this folder are available only to the user who created them. Excel Reports
  117. 117. Creating Excel Reports ➢ Add the report to the Excel Reports tree ➢ Define which data to include in the report through SQL query ➢ Generate the report Adding Reports: ➢ Click the Tools button on the upper-right of the Quality Center window,and select Excel Report Generator. The Excel Report Generator opens. ➢ In the Excel Reports tree select the required public or private folder Excel Reports
  118. 118. Thank You

×