Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Passing lab resource descriptions through command line adapter

 Hi,

We've set up several lab resource descriptions (with a business value) which we would like to pass to a test run through command line adapter:


In the screenshot above I would like to access the "Type Of Action" variable in my test.

I've looked for the lab resource descriptions in the qm_ExecutionVariablesFile file, but only execution variables and built-in variables (for instance RQM_CONFIGURATION_NAME) seem to be present.

Is there a way to pass these custom lab resource descriptions through the command line adapter as an execution variable? Or is using the RQM API to get the test environment details the only option?

Thanks

0 votes



2 answers

Permanent link
RQM does not pass that information automatically. You can create an execution variable and associate that with the script. Before running the test, you can provide the values (in this case the custom description of the resource) for the new execution variable from "Run Test Case" dialog.

0 votes


Permanent link
 Thanks for your feedback. 

We try to avoid creating an execution variable and manually setting the value or creating multiple testcases with different parameters since this parameter is already available in the Test environment.

I've started consuming the RQM api which seems to do the trick. From the execution record id passed as an excecution variable I'm querying RQM to get the environment and its configuration parts.




0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,953

Question asked: Apr 28 '15, 9:46 a.m.

Question was seen: 3,381 times

Last updated: May 05 '15, 6:40 a.m.

Confirmation Cancel Confirm