0

We would like to automate regression test cases using selenium.These regression test cases are availbale in JIRA and HP ALM.My Objective here is to use Selenium(Java) and Automate these test cases in such a way that when I execute individual test cases from selenium webdriver through eclipse IDE, my test cases should be able to mark results (Pass/Fail) corresponding to each test case. Can you please let me know if this can be done??

1 Answers1

0

You might want to look at Agiletestware Bumblebee which has a Java annotations package and JUnit test listener, so you can use it to send test results to HP ALM if you use selenium together with JUnit or TestNG

Please refer to: http://www.agiletestware.com/docs/bumblebee-docs/en/latest/qa-frameworks/junit/

Disclaimer: I'm a developer of Bumblebee.

Sergi
  • 990
  • 5
  • 16
  • I've went through your tutorial, and I was curios to see if is there any way to link your tests to an existent test case from HP ALM. Thanks! – Razvan Oct 20 '20 at 14:33
  • @Razvan Yes, this is possible via Java annotations, there is 'almid' attribute of Bumblebee annotation which can contain an ID of an existing ALM test. Please refer to the docs for details: https://www.agiletestware.com/docs/bumblebee-docs/en/latest/qa-frameworks/testng/#map-testng-test-method-to-existing-test-in-hp-alm – Sergi Oct 20 '20 at 14:40
  • I have ALM v.12 and I don't have that TS_USER_01 field. Only the ID (which is unique and numbers only) and the rest are dropdowns. – Razvan Oct 20 '20 at 14:56
  • 1
    Hmmm, I think there is an incorrect screenshot in the docs, please have a look at the link below for JUnit: https://www.agiletestware.com/docs/bumblebee-docs/en/latest/qa-frameworks/junit/#map-junit-test-method-to-existing-test-in-hp-alm The thing is to get an ID of your ALM test and put it into almid attribute – Sergi Oct 20 '20 at 14:59
  • make sense now, looks fine. The last question, is there any integration with Cucumber? Saw something with Serenity, but I need it for Cucumber-TestNG – Razvan Oct 20 '20 at 15:06
  • 1
    Yes, we do support integration with cucumber but it is available via CI plugin (you need to send cucumber JSON reports to Bumblebee server). We haven't tested cucumber with java annotations and I'm not sure it's going to work fine, because AFAIK you have to use a special cucumber runner so our listeners/reporters might not work properly. I think if this is a showstopper for you - our team can have an R&D and see if this is something we can support. – Sergi Oct 20 '20 at 15:19