Running selenium from ALM

Category:
Question ID: 109455
2
0

We are planning to use selenium for certain automation and would like to know if we can use ALM.net to store /execute the scripts. Is there any integration that exists today between ALM and Selenium? If you have any documentation that I can refer to, that would be of great help.

Marked as spam
Posted by (Questions: 91, Answers: 0)
Asked on April 22, 2020 8:27 pm
42 views
Answers (1)
2
Private answer

The 1st way: You would create manual tests in ALM to represent each of your selenium tests then you would kick off your selenium tests from outside ALM, the selenium test would then have api code that would upload the results of the test to the manual test case in ALM.

The 2nd way: Run them in Jenkins and publish the results to HP ALM using the MF Application Automation Tools Plugin, for this though they would need to be running in the JUnit, NUnit, or TestNG frameworks, this method creates an external test set type to store the results for the execution.

Search the ALM userguide for "External test sets"

https://wiki.jenkins.io/display/JENKINS/Micro+Focus+Application+Automation+Tools

The 3rd way: Each selenium script is represented by a vapi-xp test in alm, the vapi-xp script actually kicks off a batch file in windows that runs your selenium scipt and reports a pass or a fail if the script runs, you could also come up with some checkpoints in the script and post some kind of results file back up to the vapi script for ALM. This way is better than the first method in my opinion because you can actually kick off the run from ALM

 

Marked as spam
Posted by (Questions: 0, Answers: 340)
Answered on April 22, 2020 8:29 pm