Quantcast
Channel: All Other HP Consumer Products and Technologies (Read Only) posts
Viewing all articles
Browse latest Browse all 1398

Execute HP tests using HP ALM Lab Managment from C#

$
0
0

Hi,

 

I am trying to run some UFT test stored in ALM from  C# application. I  use the code  provided here "http://almhelp.saas.hp.com/en/12.20/doc_library/api_refs/ota/topic216.html" I use the option

RUN_PLANNED_HOST

 

"

 In ALM we have assigned Cloud machines  on which  the test runs. We use HP ALM Lab Service.

The problem is here:

 

I can get the following info’s :

 TSTst.Name

TSTst.ID

 

but the

TSTst.HostName  is empty. In ALm the tests from the testsets   have the machines assigned so i don’t understand why the result is empty.

sched.RunOnHost[TSTst.ID] = TSTst.HostName; will do nothing

Any idea?  There is another way to execute test from C# when want to  "Execute HP tests using HP ALM Lab Managment"?

 

 

Please don’t ask why i want this. It is because  at run time the test sets fail some time because cloud connection and i want to handle test restart  (only particular test from test set and in particular sequence) on my own terms.

 

 

Regards,

Cosmin

 

 


Viewing all articles
Browse latest Browse all 1398

Trending Articles