Integration with HP ALM

411 views
Skip to first unread message

RohithSun

unread,
Nov 2, 2017, 7:00:25 AM11/2/17
to robotframework-users
Dear Peke,
My robot tests has to run from HP ALM, do we have any simple method to integrate this tool, currently I do not see any available library for the same.

Regards,
Rohith.

RohithSun

unread,
Nov 17, 2017, 4:04:42 AM11/17/17
to robotframework-users
Hello,
Can anyone guide me here, please?

Tatu Aalto

unread,
Nov 17, 2017, 4:13:08 PM11/17/17
to rohith...@gmail.com, robotframework-users
Ugh

Integration and running are quite broad terms and therefore it's not clear what you want. I haven't done integration with the HP ALM and Robot Framework, but I didn't integration with Robot Framework and Silk Central (although I have to say that integration is not complete). In practice, when automated test are executed from Silk, it will kick a Jenkins job and provide bunch of parameters to the Jenkins job. Based on the parameters, Jenkins will download required software, may install server, checkout the test from Git, run the tests and so on. Then it report the status back and store the report in a content management system.

There are different ways to do the integration and my way is not a good choice for everyone. For example, I did want to use Jenkins to run the test, because Jenkins has all the required software installed because it's used during sprint development. And I didn't want to maintain different environments which are dedicated for the test management system. Also I did have a need for real time monitoring, from the test management system, because test execution can be monitored from the Jenkins.

What all the above means that you need to set a clear goal or target what you want to achieve. And "I want run test" is not a clear goal. Why you want to run test, how often they will be run, how will look the results, where the results are, where the test are run are examples from the interesting questions which you should seek an answer.

-Tatu
Send from my mobile

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.
To post to this group, send email to robotframework-users@googlegroups.com.
Visit this group at https://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.

Rohith N

unread,
Nov 19, 2017, 2:38:50 PM11/19/17
to Tatu Aalto, robotframework-users
Hi Tatu,
Thanks for your details mentioned here, our projects are GxP compliant and hence validated runs in HP ALM is the usual way to communicate and track results of test runs. Further quality team will review, do RTM check and approve test runs in hp alm.

Now how do I trigger my robot scripts from hp alm? So that I have all my test results stored in alm for review and approvals.

And this is the goal of whole thing.

Sent from my iPhone

lakshmana c

unread,
Feb 5, 2019, 9:27:46 AM2/5/19
to robotframework-users
Hi Rohith,

I'm even looking for integrating RIDE scripts with HP ALM, can I know if you have any updates on this.

Thanks !

Anne kootstra

unread,
Feb 6, 2019, 2:10:12 AM2/6/19
to robotframework-users
As highlighted by Tatu, this type of integration does not come out-of-the-box and will require customization that depend upon development/coding skills. If you do not have access to those skills, then I'd recommend taking more time to investigate and perhaps do a proof-of-concept to ensure you understand all the required components correctly.

For example: 
RIDE is an editor, plain and simple. It edits scripts in the Robot Framework domain language that are read by the Robot Framework application to perform tests. In RIDE you are able to start this separate Robot Framework application. These tests may depend upon external libraries that use other modules that have their own specific dependencies. The Robot Framework application itself may be extended as well, providing additional functionality (for example loggers) when a set of test scripts are run. 

Without having a good understanding of the Robot Framework setup this integration is very likely not going to end up realizing a satisfactory result.

Kind regards,

Anne

Op dinsdag 5 februari 2019 15:27:46 UTC+1 schreef lakshmana c:

Mehak Sharma

unread,
Dec 10, 2019, 3:26:26 AM12/10/19
to robotframework-users
Hi Rohith,
   
Even i am looking for the solution for the same problem  GXP project and HP ALm intigration.Please help if you any solution.

Thanks,
Mehak


On Monday, November 20, 2017 at 1:08:50 AM UTC+5:30, RohithSun wrote:
Hi Tatu,
Thanks for your details mentioned here, our projects are GxP compliant and hence validated runs in HP ALM is the usual way to communicate and track results of test runs. Further quality team will review, do RTM check and approve test runs in hp alm.

Now how do I trigger my robot scripts from hp alm? So that I have all my test results stored in alm for review and approvals.

And this is the goal of whole thing.

Sent from my iPhone

On 18-Nov-2017, at 2:43 AM, Tatu Aalto <aalt...@gmail.com> wrote:

Ugh

Integration and running are quite broad terms and therefore it's not clear what you want. I haven't done integration with the HP ALM and Robot Framework, but I didn't integration with Robot Framework and Silk Central (although I have to say that integration is not complete). In practice, when automated test are executed from Silk, it will kick a Jenkins job and provide bunch of parameters to the Jenkins job. Based on the parameters, Jenkins will download required software, may install server, checkout the test from Git, run the tests and so on. Then it report the status back and store the report in a content management system.

There are different ways to do the integration and my way is not a good choice for everyone. For example, I did want to use Jenkins to run the test, because Jenkins has all the required software installed because it's used during sprint development. And I didn't want to maintain different environments which are dedicated for the test management system. Also I did have a need for real time monitoring, from the test management system, because test execution can be monitored from the Jenkins.

What all the above means that you need to set a clear goal or target what you want to achieve. And "I want run test" is not a clear goal. Why you want to run test, how often they will be run, how will look the results, where the results are, where the test are run are examples from the interesting questions which you should seek an answer.

-Tatu
Send from my mobile
On Nov 17, 2017 11:04, "RohithSun" <rohit...@gmail.com> wrote:
Hello,
Can anyone guide me here, please?

On Thursday, November 2, 2017 at 4:30:25 PM UTC+5:30, RohithSun wrote:
Dear Peke,
My robot tests has to run from HP ALM, do we have any simple method to integrate this tool, currently I do not see any available library for the same.

Regards,
Rohith.

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.
To post to this group, send email to robotframe...@googlegroups.com.

Hi-Fi

unread,
Dec 11, 2019, 1:26:07 AM12/11/19
to robotframework-users
Running is basically triggering, but I think it's quite unclear why to do that form ALM side. 

Better (and easier) way would be to run tests from either CI (good) or local computer (bad) and let tests to update the statuses of the test runs in ALM. Update can be made self using e.g. REST API or using some readymade library for RF, like https://github.com/Hi-Fi/robotframework-statusupdater.

Dave Amies

unread,
Dec 11, 2019, 5:58:56 AM12/11/19
to robotframework-users
Hi RohithSun & Mehak,

First - I have not integrated Robot Framework with HP ALM (it's actually Microfocus not HP now), but I have integrated other test tools with ALM (specifically Quality Centre, not the other ALM components like Performance Centre)


First you need to decide what level of "Integration" you want or need
- Simple: just want to run the robot script and return back to ALM a Pass / Fail state with no other information

This is quite simple, you just need to create a VapiXP script (vbscript / ecmascript) to call the robot executable with the parameters to run, wait for the return code from robot (0=pass, anything else is fail) and then use the builtin vapixp functions to return the test/run status of pass / fail

Obviously this is not for robot framework, but the example is clear enough that you should be able to adapt it.

- Advanced: If you want more than just a pass/fail status returned to ALM, then you are going to need to create a custom listener for robot framework that traps the information you want returned to ALM and then use the ALM API's to return the information required, hopefully you are using ALM version 11 or newer so you can use the REST api, it's much easier than the old API's were.

TIP if you are going to try the advanced method, then when you create the vapixp script you will want to pass the run id, test id, test step id, etc to robot framework as metadata -M switch for robot framework, so that your listener script can pick up the metadata values (start_suite -> attributes. metadata)

Hope that helps.

Dave.

Jirayu Kaewprateep

unread,
Dec 11, 2019, 11:36:10 AM12/11/19
to robotframework-users
Integration level?
Reply all
Reply to author
Forward
0 new messages