Micro Focus Quality Center Tutorial (Day 3) – Requirements and Release Cycle Management with Example

HP Quality Center/ALM is now changed to Micro Focus Quality Center/ALM but still, the content on the page is valid on the new Micro Focus domain and tools as well.

In the last two Micro Focus Quality Center/ALM tutorials, we saw QC Introduction and Installation guide. In this tutorial, let us continue the tutorial by means of an example.

(Note: Please allow some time for the article to load, as it contains a huge list of tutorial screenshots).

Consider your AUT (Application Under Test) to be Gmail.com or any other email application.

=> Click Here For ALM Quality Center Tutorials Series

Micro Focus Quality Center (1)

Given below is the list of features that we need to test for High-Level Testing – without taking field level validations into account.

  • Login – with correct credentials
  • Login – incorrect credential handling
  • Forgot Password
  • New user Registration

These features are going to be part of a certain release that has a couple of cycles – we will see how we can define this information through ALM. Clearly, the above-listed items are your requirements. By definition, a requirement is a business need or a testing need.

How do we write the Requirements, Create Test Cases, link them to requirements, Create test sets, execute the tests, Create Defects and link them back to test cases and eventually to requirements, linking all the test assets (test cases, requirements, and defects) on multiple levels to Releases and cycles are the things that we are trying to learn through these tutorials.

Release and Cycle

Release is nothing but a significant change or changes that are going live at a given time.

Cycles are the different sets of testing efforts that are performed to facilitate the release.

For example, from the above-listed features, if you need feature 1 and 2 to go live on 30th May 2013 and the next 2 features on 30th June 2013. You can name the first one as “May release” and the second one as “June release”.

Take a look at the table below: (click on any image to enlarge)

Quality Center release cycle

Observations:

  • Each release comes with a predefined set of requirements that are expected to be done by a certain time.
  • The phases are nothing but cycles. Each Release will have different Cycles within it.
  • Both cycles and Releases have the start and end dates defined.

We have outlined the Release and Cycle information in the form of the above table and we have captured all the information regarding it right here in this word document.

If you find yourself asking, why ALM then?  – Through ALM, you can trace the release/cycle information all the way from requirements, test cases, and defects thereby ensuring complete transparency and traceability.

Steps to Create a New Release/Cycle in ALM

Step #1: Login to ALM into with your username and password, into the domain and project you require.

Step #2: Go to the sidebar options “Management -> Releases”.

Step #3: Create a Release folder: You can create a new release folder or directly create a release here. To create a new folder, choose the “New Release Folder” from the menu or right-click on the “Releases” root folder and choose “New Release Folder”.  Enter the name and click OK. The folder gets added to the hierarchical structure under Releases.

Quality Center Release Cycle

Enter the folder name:

Quality Center Release Cycle

Step #4: Create Release: Under the newly created folder, I am going to add a ‘New Release’. You can choose the “New Release” from the menu or right-click on the root folder and choose “New Release” or choose Ctrl+R. Enter the Name.  As you can see, the start date and end date are the required fields.

There is a description box where you can enter any text and then you can upload any supporting documents under attachments. Enter the information as required and click OK.

Quality Center Release Cycle

Enter Release details:

Quality Center Release Cycle

Step #5: The Release gets added.

Quality Center Release Cycle

Step #6: Adding Cycles: The next step is to add Cycles. Under the newly added Release, the option to add a new Release folder or Release is disabled. You have options in the menu to add a new Cycle activated or the right-click menu has the option or Ctrl+Y keys can be used. Use any one of these and choose to add a new Cycle.

Again, names, start dates, and end dates are mandatory items. Enter the same and click OK.

Quality Center Release Cycle

Enter Cycle details:

Quality Center Release Cycle

Step #7: The Cycle will now get added to the Cycle. This is how the May and June release information from our table is going to look once it is all added to ALM.

Quality Center Release Cycle

Step #8: There are some validations for entering the cycle dates. They have to fall within the range of the release dates under which the cycle is created. If not, a validation message gets displayed.

Quality Center Release Cycle

Step #9: Once it is created. Choose the “May release” and observe its data.

The master plan tab will display the timeline for the release with its Cycle information.

Quality Center Release Cycle

Step #10: The Status attachment displays the progress of the Release.

Quality Center Release Cycle

More information on these fields is going to get updated as and when we keep linking more requirements and in turn tests and defects. We will always retrace our steps backward and see how each additional linking affects the former components.

Steps to Create Requirements

Step #1: Go to the “Requirements -> Requirements” option from the ALM sidebar.

Step #2: Create a new Requirement folder. For consistency, I am going to go with the names, ALM training – May release and June Release subfolders.  Enter the name and click OK.

Quality Center Create Requirement

Step #3: Once created, you can choose the tree folder structure and add additional properties.

Quality Center Create Requirement

Step #4: Adding Requirements: Click on the “New Requirement” icon from the menu while choosing the folder under which you want to add the requirement. The author’s name gets auto-populated. Enter the name and choose the relevant requirement type from the drop-down. I am going to choose “Testing”.

Quality Center Create Requirement

Step #5: Link the requirement to a cycle and release: Once you have added the requirement name and other details, you can now link it to any Release and Cycles as desired. You can do that by clicking on the “Target Release” drop-down and selecting the Release information. Since in our example this belongs to the May release, I am going to choose the same from the drop-down.

Note: You can associate a requirement with more than one release.

Quality Center Create Requirement

Step #6: To choose the Cycle. Click on the “Target Cycle” drop-down and choose the required Cycle. Since our login is a crucial function, I would like to perform it in every cycle. I am going to map it to all 3 cycles under the May release. Here is how I do it.

Quality Center Create Requirement

Step #7: You can then assign additional details like the priority, provide attachments and other details before you Submit. The requirement gets added.

Quality Center Create Requirement

Step #8: If you need to modify or update the requirement, you can do so, by double-clicking from the tree view.

The following window opens up:

Quality Center Create Requirement

Step #9: For every requirement, a “Req. ID” gets auto-generated. In this case, it is “7”.

Step #10: Also there are other features like Requirement traceability, Test coverage, etc in the sidebar of the “Requirement Details” dialog. We will discuss all that in detail once we finish understanding the end-to-end flow from Releases/Cycles-requirements-tests-test sets-defects.

Requirements and Release Statistics

Now that we have created one requirement and linked it with Release and Cycle, let us see how this linking affects the “Release” and “Cycle” properties for the ones we created earlier.

#1) Navigate back to “Management-> Releases” from the sidebar.

#2) Select one of the cycles we added earlier. Note the properties:

QC requirements

Pro Tip: If the statistics don’t reflect your changes as soon as you access this page, hit the refresh button in the menu.

#3) Notice the statistics section, it shows “1” for the “Requirements assigned to cycle”. It now clearly indicates how many requirements are associated with this cycle.

#4) Same thing with the Release. Hit the refresh button if the statistics don’t get updated immediately.

QC requirements

Remember that ALM does not mandate that a requirement created be mapped back to a Release or Cycle. It is merely a best practice to do so and when done, you can completely leverage the ALM features to your benefit. The same thing applies to Tests.

Once you create the tests you don’t necessarily have to link them back to the requirements and/or releases. But then, you will not be utilizing the tool to its 100% if you don’t.

Important Points to Note

#1) In real-time projects, all the data i.e. the requirements and tests are created in either excel sheets or word documents instead of directly creating them in ALM. This is not a tool imposed pre-requisite but testing teams across different companies find this more comfortable.

One of the reasons for this is that you can keep local copies of the data on your machine thereby reducing the network overhead.

#2) You can import the data (requirements or tests) into ALM from Microsoft Word or Excel. To do so, you will need a Micro Focus ALM Microsoft Word Add-in or Micro Focus ALM Microsoft Excel Add-in respectively.

#3) You can also integrate ALM with an email server to make sure automatic email alerts can be sent to concerned parties based on certain conditions. For example, when a new defect is logged in or there has been a status change of the defect etc.

#4) While creating folders, releases and cycles make sure that you choose the right parent node.

#5) ALM organizes and stores data in a Grid or tree form.

Conclusion

I really hope this session gives you a tiny peek of what Micro Focus ALM can do for your project and how best you can manage all your testing-related activities in one place.

In the next Quality Center Tutorial, we will see how to create and manage test cases.

=> Visit Here For ALM Quality Center Tutorials Series

If you like this tutorial, please consider sharing it with your friends. You can also put your questions in the comment section below. As always, we appreciate your feedback.  

Related Post

Leave a Reply

Your email address will not be published.