New Member.. JAFA
New Member..
417 views

How to connect and execute ALM Test Cases from HPOO

Hello,

We would like to execute 'Test Cases' in ALM (Version 12.55) from HPOO (Version 10.70).  Is possible?
In HPOO we have integrated the 'Content Pack' Micro Focus Solutions [2.0.1] to have access to the 'Application Lifecycle Management' libreries, but we do not find any module that explicitly indicates 'Execute Test Case'.

Once we got connected to ALM (through the module 'Get Lightweight SSO Token'), when trying to execute then any other module of this library in HPOO (from Test Lab, Test Plan, ...) we always get the error: PAGE_NOT_FOUND
For example:
<body><h2>HTTP ERROR 401</h2>
<p>Problem accessing /qcbin/rest/domains/SEAT_E_PROD/projects/ADMINTOOL/customization/entities/run/fields. Reason:
<pre>    Authentication failed. Browser based integrations - to login append '?login-form-required=y' to the url you tried to access.</pre></p><hr><i><small>Powered by Jetty://</small></i><hr/>
</body>

It is possible to tell HPOO that the resulting URL ends in: '?login-form-required=y' ?, or tell us what we are possibly parameterizing wrong?

Is there some kind of documentation for this interconnection?

Thank you very much for your help and to excuse our ignorance.

0 Likes
4 Replies
AndreiTruta Outstanding Contributor.
Outstanding Contributor.

Re: How to connect and execute ALM Test Cases from HPOO

You need to grab a token or session and use it for subsequent calls as far as o remember. There is a specific operation for that. I should have some sample integrating with alm somewhere. Will look for it tomorrow.

It is an authentication problem as I see it.

As far as I know apart from the operation's description there is no other document talking specially about this integration.
Andrei Vasile Truta
0 Likes
AndreiTruta Outstanding Contributor.
Outstanding Contributor.

Re: How to connect and execute ALM Test Cases from HPOO

A long time ago I used the sequence of steps as seen below in the screenshots and it used to work.

If you did not succeed it by now, I hope the info will help.

Screenshot_14.png2ndgetsessionScreenshot_13.png3rduseforsubsequentcallsScreenshot_15.png1stgettoken

Andrei Vasile Truta
0 Likes
vgodoy Regular Contributor.
Regular Contributor.

Re: How to connect and execute ALM Test Cases from HPOO

We had the same problem. In this case there're 2 main problems:

 

- Connection problem --> we solved it adding the "create session" operation in order to lwSsoToken.

- Execute test case operation is not available --> we're looking for an alternative to "execute test set" because this operation is missing.

 

0 Likes
Micro Focus Expert
Micro Focus Expert

Re: How to connect and execute ALM Test Cases from HPOO

Hi,

Are these QTP/UFT automated tests you want to execute?

If yes,  in the past I was able to do this by creating a custom operation (there is none available out of the box) that was calling (using Remote Command Execution operation) an QTP/UFT comman line (CLI)client. that triggered the test execution in ALM. The UFT/QTP CLI client was provided by support team. It worth asking if the CLI still exists.

HTH,

Lucian

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.