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
|
2 answers
![]()
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.
|
![]()
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.
|
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.