Executing Test Cases Using ALM/QC (Day 5 Micro Focus ALM QC Tutorial)

By Vijay

By Vijay

I'm Vijay, and I've been working on this blog for the past 20+ years! I’ve been in the IT industry for more than 20 years now. I completed my graduation in B.E. Computer Science from a reputed Pune university and then started my career in…

Learn about our editorial policies.
Updated February 24, 2024

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 as well as the tools.

In our last Micro Focus Quality Center tutorial, we learned how to create test cases and link them to requirements. For that, we took an example of the Gmail application and explained how to create and add test cases in Quality Center.

Please read our previous tutorial Creating and Managing Test Cases as we are going to use the same Gmail.com test cases for execution in this tutorial as well.

=> Click Here For ALM Quality Center Tutorials Series

Executing Test Cases Using ALM_QC

How to Execute Test Cases Using ALM/QC

Step #1: In the Test lab tab, choose the test set that you would like to run and click on “Run Test” or “Run Test Set”. Run Test- will execute the test set selected and the “Run test set” will run the entire set one test after the other until the end.  Click on “Being Run”.

(Click on any image for an enlarged view)

Quality Center Test Execution

Step #2: If it is an automation test and the tool is integrated, then it launches and runs in the testing tool. In that case, it auto-populates the test result.

Quality Center Test Execution

Step #3: Since ours is a manual test, we will have to execute the steps manually on our AUT and set the results. Go to the test status field and click on it to set it to a certain value. You can also enter the actual results in the space provided.

Quality Center Test Execution

Step #4: I am going to choose “Passed”. I am going to do the same for all the steps.

Quality Center Test Execution

Step #5: When done, click on the cross button in the dialog. The following confirmation message will be displayed. Click Yes.

Quality Center Test Execution

Step #6: Now you can see that the status of the test is marked as passed.

Quality Center Test Execution

Step #7: Let us execute the next test on the list.  I will follow the same steps and fail just one of them. The status of the test goes to failed if any one of the steps fails.

Quality Center Test Execution

Pro Tip: You can change this status at any time you wish by clicking on the status column and setting the desired value.

Check Execution Status in the Test Plan Tab

Once you have executed the test case, go back to the test plan tab and open the corresponding test case. Go to the Test Configurations tab and the following is how the execution status gets reflected.

Quality Center Test Execution

Check Execution Status in the Requirements Tab

As you can see, the corresponding requirement’s direct cover status has been changed to “Passed”.

Quality Center Test Execution

Double-click on the requirement and go to the “Test Coverage Status”.

Quality Center Test Execution

Points to Note

#1) The different states of a test case execution can also be customized by the Admin.

#2) You can choose to parameterize a manual test by adding parameters to it. Once the test is run, the actual test data can be entered.

#3) At every step in your ALM, you can send an email through it. To do so, find this icon in your ALM window and click on it. For example, in the test plan tab, I am clicking on it.

ALM email sending

Once you click on it, the following dialog opens. You can enter the required details and send an email.

ALM email sending

Conclusion

In the previous as well as this tutorial we learned – how to create tests, add steps to the tests, link the tests to requirements, create test sets, add tests to test sets, execute the tests, and finally backtrack our way to see how each activity affects the statistics each time.

Since we have seen how to pass or fail a test case, the only thing left to learn is to know how to add a defect for the failed test case. We will cover defects and other miscellaneous topics in the next tutorial which is indeed the last in this Micro Focus Quality Center/ALM training series.

=> Visit Here For ALM Quality Center Tutorials Series

Do let us know your feedback and post your questions.

PREV Tutorial | NEXT Tutorial

Was this helpful?

Thanks for your feedback!

Recommended Reading

43 thoughts on “Executing Test Cases Using ALM/QC (Day 5 Micro Focus ALM QC Tutorial)”

  1. hi,

    In real world while executing the test case in test lab, where we would be testing the test cases to get our results. Will it be a complete website like in this case gmail.com or it would be something else…..pl confirm as i am confused…

    Reply
  2. Yes,
    1. You can fail one test case with multiple defect ID’s
    2. You can attach multiple test case to single defect.

    BOTH ARE POSSIBLE

    Reply
  3. In above example:
    If Smoke Test has been set by more than 1 test case (here if we choose Login with Correct credentials and Login with incorrect credentials) then while Running the Test Set of Smoke test how will Result window differentiate at display?

    Reply
  4. @Amit: It could be anything. If you want your developer(or any body) to look at a certain defect or a certain test/test step, you can choose to send email directly from ALM. Does that answer your question? Please let me know….

    Reply
  5. Hi,
    can any one plz tell me how to check the status report in graph format OR to know the whole own execution up to date from the date on which i started the execuiton

    Reply
  6. Hi Friends,
    while i am testing an application I got a defect and while i am logging a defect in QC , one of my colleagues already logged that defect in QC. I can see it clearly that his and mine defect is same. Now what I have to do? I want to log a same defect. Please tell me the procedure

    Reply
  7. Hello, I’m trying to use some parameters across different test cases but I’ve had no success so far. What I’ve come to is creating a test case in QC called .global, with no steps in it, and all the parameters and mark this test case as a template; later on, I call this template test case but I have no idea how to call the parameters from the template case from the actual case running. Do you have any idea how i could manage to achieve this? I’ve seen many posts on people trying to do the same.

    Reply
  8. @Sonakshi: You have submitted 3 questions. The following are the answers:
    1. I have answered your first question in the previous article comments.
    2. Here is an example: When there is a req and there are 10 test cases linked to it. Only 5 of them are executed. In that cases, the test coverage status will show 50%.
    3. You can send an email just about anything. If you want your developer(or any body) to look at a certain defect or a certain test/test step, you can choose to send email directly from ALM.

    Hope I clarified your doubts.

    Reply
  9. My Query is on this statement and example: Double click on the requirement and go to “Test Coverage Status”.
    Here it shows 100%. My query is when this Test Coverage will be (50% or 70%)other than 100%?

    Reply
  10. 1) Does QC provide the ability to create Test Execution Records, separately from the Test scripts? In other words, I think what I want to ask is can you execute a single script multiple times with each run appearing as a different execution record?

    2) Does QC provide the functionality of maintaining version control of artifacts… e.g. If I write a script and then later update it, will QC maintain versions for me automatically?

    Reply
  11. Creative post . I Appreciate the specifics , Does anyone know where my assistant might get ahold of a template IRS W-3 example to edit ???

    Reply
  12. Hi,

    Can someone help to find the test scripts which are executed with less than some specific duration. lets say 5 minutes.

    Thanks
    Aditya

    Reply
  13. Hi ,
    Great job. I find this tutorial very useful. I just want to point out a small spelling mistake in the first paragraph of the tutorial under the heading “How to Execute Test Cases Using ALM/QC”. I think It should be “Begin Run” instead of “Being Run”.-

    Reply
  14. suppose we have 4 approval in ALM,
    1-content approval
    2-Reviewer
    3-IT validation Lead
    4-Business lead

    and i want to skip IT Validation Lead for an approval
    Is that ok ?
    Can i execute test cases in ALM

    Reply
  15. In real world while executing the test case in test lab, where we would be testing the test cases to get our results. Will it be a complete website like in this case gmail.com or it would be something else…..pl confirm as i am confused…

    Reply
  16. @Pravin: I am glad you are finding the tutorial useful.

    Here are the answers for the two questions you posted:
    1. In QC 10 the “Test Configuration” might not have been the same (I am not sure) but the backward trace-ability might exist under a different menu option, so I suggest you to pls explore that a little.
    2. Mail might not have been enabled by your QC admin. Admin can basically turn this feature ON or OFF. So pls check with them.

    Reply
  17. I want to update the status of test lab using rest api from java for automated testing,but I failed to update no run status to passed or failed in HP alm 11.5.can you please help me?

    Reply
  18. From the screenshot in step #3, when and why would someone use the status “Blocked”, or “N/A” for a manual test? Are there circumstances where the status of “Blocked” would appear automatically, rather than being set that way by the user? I get why “No Run” or “Not Completed” would appear.

    My organization uses ALM version 12.20 and we have a partner company that designs and runs the tests, I’m trying to interpret and understand the work that they’re doing.

    Reply
  19. Hi,
    In QC whether in Test lab Test data are parametirized or Test Plan, which is better way to enter data and how to import data from excel to Test Plan.
    And also how to enter Multiple test data for same test case is it execting the same test case again and again

    Reply
  20. can you please tell why send email feature? what emails are sent via this tool and for what purpose?

    give us some samples.

    Reply
  21. Hi,
    I am working on HP QC 10.0, I am referring this tutorial. I follow steps up to 7. I didn’t find Test Configuration in Test Plan Tab. Where do i get that. Please let me know proper info.

    Below is the part that i didn’t find(get) –
    Check the execution status in the Test Plan tab:

    Once you have executed the test case, go back to the test plan tab and open the corresponding test case. Go to Test Configurations tab and the following is how the execution status gets reflected.

    Thanks

    Reply
  22. How to find all the test cases written by a person/ Id in HP QC?
    Is there a query to fetch all records or any built in QC feature.

    Answer appreciated.

    Thank,
    Deepak E.

    Reply
  23. Hi,
    I am trying to send a mail i fill info and clk on send that time i get an error message “Mail is disabled, Please contact your system administrator “

    Reply

Leave a Comment