Professional Documents
Culture Documents
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
Agenda
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
Quality Center is an enterprise-wide application that is based on Java 2, Enterprise Edition (J2EE)technology Quality Center streamlines the quality management process from requirements gathering through planning, scheduling and running tests, to defect/issue tracking and management in a single browser-based application
Quality Center supports high levels of communication and collaboration among IT teams
Quality Center enables your organization to digitize specific quality processes and procedures within the larger application lifecycle
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
Business analysts define application requirements and testing objectives Testing team members design test plans and develop test cases Test automation engineers create automated scripts and store them in the repository Testers run manual and automated tests, report execution results, and enter defects Developers review and fix defects logged into the quality center Project managers creates testing status reports and manage resource allocations
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
User Group
Permissions
Administrator group members will have full access to
the quality center Have full access to all QC modules
Administrator
Project Manager
Have full access to all QC modules Have modifying access for QC modules The group has viewer access to the Quality Center Modules
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
http://<<Server Name>>:<<port>>/qcbin/start_a.htm
User Name: xvb Password: ****
http://qc.xxx.com:8080/qcbin/start_a.htm
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
Requirement Management
Test Plan Test Resources Test Lab Defects Management
Dashboard
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
Testing scope
Documents include:
Business Requirements System Requirements Specifications Design Documents
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
Defining Requirements
Tester creates a hierarchical structure, defining the requirements For example: The requirement topic Application Security for a Airline reservation system may be broken down into the following:
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
Analyze Requirements
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
Requirement Toolbar
The Requirement toolbar contains the following buttons: New Requirement: Adds a new Requirement New Child Requirement: Adds a new Requirement to the requirement tree Cut: Moves a new Requirement to a new location in the requirement tree Copy: Copies a selected Requirement to another location in the requirement tree
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
New Requirement
Click the new requirement button the new requirement tab opens up
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
New Requirement
Name the requirement Fill the details for the requirement Fill the description using the Description Pane Add an attachment to the requirement using the Attachment Button
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
Requirement Details
Author
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
Adding an attachment
Attaching a file
Attaching a snapshot
Attaching a URL Attaching System Information Attaching an Image from the clipboard
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
Attachments
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
Modifying Requirements
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
Outline a strategy for achieving your test requirements. Ask yourself two basic questions.
What resources do you require? 1. 2. What resources do you require in order to test (personnel, hardware etc.)? When will the various tasks be completed?
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
Divide the functions into subjects and build a test plan tree representing you applications functionality.
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
Planning Tests
Plan the tests for each subject in your test plan tree Decide which type of tests to create for each subject Then create the tests and assign them to each branch of test plan tree.
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
Link each test in the test plan tree with a requirements in the requirements tree By defining the requirements coverage for a test you can keep track of the relationship between the tests in your test plan and your original testing requirements
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
Design the Tests in your test plan tree Create test steps describing the operations to perform and the expected results After you design the test steps decide whether to perform the test manually or to automate it
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
Automating Tests
After designing test steps decide which steps to automate For Automated tests you can design test steps and automate them by generating a test script The test script can be for Win runner, QTP, Load runner or Visual API-XP
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
Review Test Plan to determine how well it meets the goals that were defined at the beginning of Testing process
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
Displays all the test in a QC project. Each column is a separate data item
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
To add a new test: Choose the Subject Folder in the test plan tree Click the New Test Button or choose the Test> New Test Select the test type from the type list.
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
In this section we will look into the following things: Linking Requirements to test Linking Tests to a Requirement Analyzing Test Coverage
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
Navigate to the Test Plan page In the Tree view select the Test for which a requirement is to be linked Navigate to the t coverage tab for the selected test Click on the Select Requirement button
In the requirements tree displayed on the right side of the window, select the requirements to be linked with the test
Click on the Add to Coverage button to link the requirement with the test
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
Select the Test in the Test Plan tree on the right side of the window
Click on the Add to Coverage button on the right pane to add the test to the requirement
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
Click on the failed area of the graph to view the child requirements with failed status
Click on show tests coverage link to view the coverage chart
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
Building Tests
One can design a test using the design steps tab in the test plan tree:
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
Select a test plan tree and click the design steps tab
Click the new step button or right click in the design steps the design steps editor will open
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
Type the Description and expected result Click New step to add additional steps Click Ok to close design step editor and add the steps You can associate an attachment for a test step
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
Choose the test plan tree, choose the manual test that you want to automate
Click the design steps and click the generate script button Choose the automated script type to convert to test type : WRautomated, LR-Scenarios, QTP
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
The Test plan module uses the steps of the selected steps to create an automated test script. In the test plan tree, note that the manual test icon is replaced by the automated test icon Click the test script tab to view the test script For displaying the tool in the testing tool Click the Launch button
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
Start by creating test sets and choosing which tests to include in each test set A test set is a group of tests in Quality Center project designed to achieve specific testing goals
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
One can set condition and schedule the date and time for executing the tests
One can determine that one want to run test 2 only after test 1 has finished and run test 3 only if test1 passed
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
Once test set are defined, test execution can start When a manual test is executed, the test steps are passed or failed on each step, depending on the actual and expected result
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
When an automates test is run the testing tool opens automatically, runs the test and exports the test results to Quality Center
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
After a test run, while analyze the test results, one has to identify whether a defect has been detected in the application or if the expected results of the test need to be updated, if a defect has been found one can create a new defect and link it to the test run also one can link the existing defect with the test run
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
New Folder: enables you to create a new test set folder. The folder is added to the test set tree in the left pane New test set: Opens the new test set dialog box, enabling you to create a new test set in an existing folder Delete: Delete folder and test set from the test set tree, Deletes test set from the test set grid Refresh Selected: refresh the currently selected test set tree Set Filter/Sort: opens the filter dialog box, enabling to sort and filter test set Clear: Clears any filter or sorts that has been applied
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
In the execution grid, the test data is organized and displayed in a grid each line in a test grid displays a separate test record
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
One can define a hierarchical structure for creating the test sets
Choose View> test sets tree to display the test set tree view
Select the root folder Folder dialogs opens up Type the folder name as per the naming convention To create additional folders one needs to repeat above steps
After a test sets tree, one can add test sets to the folders
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
Display the test set tree by choosing View> test set tree. In the test sets tree and choose the test sets> new test set
Displays the test set grid by choosing View> test set grid. Click the new test set button or choose the test set > New test set
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
If a test set dialog box is opened from the test set grid, click the browse button in the test set folder and chose a folder Type the test set name as per the naming convention Type the description of the test set Click ok to add the test set
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
After you have defined a test set, you can add tests from the test plan tree, or tests covering requirements from the requirements tree, to the test set To add tests to a test set: Select a test set from the test sets tree or test sets grid. In the Execution Grid tab or Execution Flow tab, click the Select Tests button. By default, the right pane displays the test plan tree in the Test Plan Tree tab. If you click the Requirements Tree tab, the tests are displayed according to associated requirements In the Test Plan Tree tab, select a folder or test to add to the test set. Note that if you select a folder, all of the tests in the folder are added to the test set. Alternatively, in the Requirements Tree tab, select a requirement or test to add to the test set. Note that if you select a requirement, all of the tests that are associated with the requirement are added to the test set Click the Add Tests to Test Set button. If prompted, click Yes to confirm
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
In the execution grid tab or the execution flow tab, select the test you want to run manually To run a single manual test select the test and click the run button the manual runner dialog box opens To run two or more tests, select the test and click the run button
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
To run a test manually, click the run arrow, the manual runner dialog opens one can update the Run Name and the tester name in the Manual Runner details screen
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
Open the application being tested and execute the first step of the test Click Pass Selected if the actual result is the same as the expected result A green check is added to the step and the step status changes to Passed If the actual result is different from the expected result, type the actual result in the Actual box and click the Fail Selected button.
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
Click the Keep on Top button to display the Manual Runner: Step Details dialog box
Click the End Run button when you complete the test run
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
If a manual test run was paused during execution, you can continue the run at a later stage. To resume a manual test run: In the Execution Grid tab or Execution Flow tab, select the test one want to resume running
Choose Tests > Continue Manual Run. Alternatively, click the Run arrow and choose Continue Manual Run. The Manual Runner dialog box opens for the selected test
Continue running the test
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
To run tests automatically: Select a test set from the test sets tree or the test sets grid One can set conditions and schedule the date and time for executing tests. We can also set the order in which you want your tests to be executed You can run all the tests in a test set or select specific tests: To run a test set, in the Execution Grid tab or Execution Flow tab, click the Run Test Set button. Alternatively, choose Test Sets > Run Test Set. To run selected tests, in the Execution Grid tab or Execution Flow tab, select one or more tests and click the Run button. Alternatively, choose Tests > Run.
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
In the execution grid, double click a test or select a test instance properties button
In the execution grid right click on test instance and choose test instance properties
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
Adding Defects
When a defect is discovered in the application, a defect is submitted to the Quality center project The project stores defect information that can be viewed by the authorized users
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
Reviewing all new defects in the projects and decide which one to fix
A defect coordinator or the Test manager Changes the status of the new defect to open and assign it to a member of the development team, Here similar defects can be linked or marked as closed or rejected
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
From defect reports one can view how many defects were resolved, and how many still remain open As you work, you can save settings that are helpful in the defect-tracking process Reports and graphs enable you to analyze the progress of defect repairs, and view how long defects have been residing in a project This helps in determining when the application can be released
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
Track defects in Quality Center by clicking the Defects button on the sidebar
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
Enter the Defect details. Add attachments. Eliminate duplicates. Spell check. Submit and close
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
Updating Defects
In the Defects Grid, double-click the defect you want to update. Alternatively, select the defect and click the Defect Details button. The Defect Details dialog box opens.
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
Updating Defects
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
Mailing Defects
In the Defects Grid, select one or more defects and click the Send by E-mail button
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
Mailing Defects
Type a valid e-mail address, or click on to/cc button to display list of users for selection Enter proper mail subject In the items box, clear the items you do not want to include in e-mail
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
Display the Test plan module Select the Test with which you want to link a defect For the test select the Linked Defects tab Click the Link existing Defects arrow and choose Select In the Defects to link dialog box select the defect and click on Link button In the Defects grid for the linked defect verify the Linked Entities property in Defect details, a test would appear linked to this Defect
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
Generating Reports
Available Reports
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
Standard Requirements Tabular Requirements with coverage tests Requirements with coverage tests and steps Requirements with linked defects
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
Subject Tree
Tests with Design Steps Tests with Covered Requirements Tests with Linked Defects
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
Execution Notification
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
Generating Graphs
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
Creating Graphs
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
Summary of activities in QC
1. 2.
Define the requirements and the child requirements in the requirements module Create the Test plan i.e. the folder structure and the tests for the project.
3.
4. 5. 6. 7. 8.
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
QC Add Ins
Quality Center Add ins help to integrate Quality Center with the other tools To upload test cases from Microsoft Excel to Quality Center you must install the Excel add in from Add Ins page To integrate Quality Center with Quick Test Professional you must install the Quick Test Professional add-in and the Mercury Quality Center Connectivity add in from the Quality Center Add ins page To Integrate Quality Center with Winrunner you must install Mercury Quality Center connectivity add in from the Quality Center Add Ins page Many Add ins are available to integrate Quality Center with other tools
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
Open the Mercury Quality Center Login window Enter the User Name password and authenticate, then select the domain and project to login In Quality Center main window select Tools>Customize to open the project Customization window
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
Project Customization
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
Project Customization
Change User Properties - Enables you to change the user properties, you can change your e-mail address you can also change your password Customize Project Entities - Enables you to modify the behavior of Quality Center system fields or define user defined fields that are unique to your project Customize Project Lists - Enables you to add customized lists to a project
Set Up Workflow - Enables you to generate scripts to perform commonly needed customizations on the fields of the defects module dialog boxes and to control the actions users can perform.
www.qtestpro.blogspot.com
www.swaretesting.blogspot.com
Questions ??
Please send your questions or suggestions/feedback to nuve1284@gmail.com Provide your comments on below blogs www.qtestpro.blogspot.com www.swaretesting.blogspot.com www.venuela.blogspot.com