Hp-QC Tutorial: Quality Center - Requirements - SQA Geek

Quality is never an accident;
it is always the result of intelligent effort.

Post Top Ad

Wednesday 11 November 2015

Hp-QC Tutorial: Quality Center - Requirements

Requirements

Defining and Capturing Requirements is one of the key criterias for any software development process. Describing Requirements refers to what needs to be done to meet the objectives during development. Establishing requirements Clearly and correctly upfront is very much emphasized so that there would be minimal/no rework after UAT.
The Requirements module enables users to define, manage and track requirements at all stages of the software lifecycle. The following are the key functionalities in requirements module and click on each link to know about that particular module.
FunctionalityDescription
Creating RequirementsCreate requirements, assign to releases/cycles.
Uploading RequirementUploading requirements using ALM-MS Excel Addins
Requirement TraceabilityEnables how to define traceability links between requirements and dependencies that exist between the requirements.
Traceability MatrixEnables user to view the traceability matrix that lists source requirements and their associated requirements and tests.


Creating Requirements

Step 1 : Before creating a requirement, container/folder for requirement is created. The Structure is created such the requirements for that release are in a folder as shown below:
Create Requirements
Step 2 : In the new requirements dialog, the following fields are filled in as shown in below screenshot.
  • Requirement Name
  • Requirement Type
  • Author
  • Creation Date
  • Priority
  • Reviewed
  • Target Cycle
  • Target Release
  • Description
  • Comments
  • Rich Text
  • Attachments
Create Requirements 2

Uploading Requirements

Every time the user will NOT be in a position to create requirements manually. Hence HP has come up with an excel Addin with which the user can upload from excel directly. Let us understand the step by step procedure to upload requirements into QC from Excel.
Step 1 : Navigate to ALM home page and click on "Tools" from the list of links.
upload Requirements 1
Step 2 : Click on "More HP ALM Addins" Link from the addins page as shown below.
upload Requirements 2
Step 3 : In the Addins page, select "Addins for Microsoft applications" and choose "Microsoft Excel"
upload Requirements 3
Step 4 : Upon selecting "Microsoft Excel", choose ALM 11.5 Excel addin. The exe file will be downloaded. Please also take a note of the supported MS Office Editions as shown in the below screenshot.
upload Requirements 4
Step 5 : Once the Addin is installed, upon opening the excel file and going to Addins tab, one can see Export to ALM button.
upload Requirements 5
Step 6 : Select the Records that one would like to upload into ALM and click on "Export to ALM Button". The HP ALM Export Wizard opens as shown below. Enter the Quality Center URL.
upload Requirements 6
Step 7 : Enter the Quality Center credentials to successfully establish a connection.
upload Requirements 7
Step 8 : Select the Domain and Project as shown below and click "Next".
upload Requirements 8
Step 9 : Select the Type of data that the user wishes to upload. In this case it is requirements.
upload Requirements 9
Step 10 : Enter a New map name. Upon creating once we can reuse it any number of times for uploading Requirements.
upload Requirements 10
Step 11 : Select the "Requirement Type" Column that we are going to upload. This should match as that of the Excel that we wish to upload.
upload Requirements 11
Step 12 : The Field Mapping Dialog opens. Here the user has to map the field in Quality Center against the column ID in Excel.
upload Requirements 12
Step 13 : Select the HP ALM Field and click on Arrow Button. Map Field with Column Dialog opens. There the column Name in Excel should be entered.
upload Requirements 13
Step 14 : Map all the relevant columns. The Column Name in Red are the mandatory fields and Click "Export".
upload Requirements 14
Step 15 : The Data would be uploaded and it displays the final output. If successful it will upload completely and displays a message to the user with "Finish" Button.
upload Requirements 15
Step 16 : login to Quality Center and check if the requirements are uploaded correctly. The requirements will be uploaded as shown below.
upload Requirements 16


Requirement Traceability

Requirements traceability defines a relationship between two or more requirements. When performing impact analysis, the traceability links gives all stake holders how other requirements are affected.
Select the "Requirements" against which the user need to add the dependant requirements. Press "ctrl+D" or goto requirement details.
Requirement Traceability 1
Click "Add Requirement Traceability" button and requirement Tree opens. Users can select and add those as the dependant requirement.
Requirement Traceability 2
Select "Impact Analysis" tab and all the relevant requirement would be shown which will help us to test the impacted areas.
Requirement Traceability 3


Traceability Matrix

The traceability matrix enables ALM users to determine the extent of relationships between requirements and other requirements. It also used to determine the extent of relationships between requirements and tests. It helps users to verify if all requirements are met and helps product owners to identify changes to the scope of the requirements when they occur.
Traceability matrix can be generated by Navigating to "Requirements" Module and goto "View" >> "Traceability Matrix".
Requirement Traceability 1
Click "configure Traceability Matrix" and define source requirements. Also define Filter by linked requirements or tests and click OK.
Requirement Traceability 1
Now click on "Generate Traceability Matrix" which will generate the traceability matrix based on the filter criteria.
Requirement Traceability 1
The traceability Matrix is generated which shows how each one of the requirements are affected. It also generates two other sheets - source requirements and linked test in the same excel.
Requirement Traceability 1

No comments:

Post a Comment

Post Bottom Ad