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

howto pass argument to RQM junit selenium adapter 4.0.7

  Hi,


I am using RQM junit selenium adapter version 4.0.7 since we are using also RQM 4.0.7. How can I pass the variable "Software Type" to the adapter via commandline call? 

After the adapter is started via commandline successfully, I can change it via RQM Adapter Console view on the RQM website manually. But I want to set this variable already at the beginning where I start the adapter via commandline.  

0 votes



One answer

Permanent link

Why would you want to do that?

I don't know how you can change anything of the adapter in the Adapter Console. I suppose you mean the "test script"? The "Software Type" variable that you mentioned is clearly for the test script, not for the adapter itself. So it makes perfect sense to define the variable in the test script. Also, the command line parameters that you use to start the adapter is for the adapter itself, whether the test script (or the "Test Class") will inherit the JVM environment is a different matter. All the available command line parameters can be found here:
https://www.ibm.com/support/knowledgecenter/en/SSCP65_4.0.7/com.ibm.rational.test.qm.doc/topics/t_strtselenadpter.html

0 votes

Comments

 Hi Donald, 


I sent you an email with the screenshot of the field I mean. I could not upload the picture here because I have less then 60 reputation points. 


It may not be obvious - the artifact that you modified, as shown in the screenshot, ,is of the type "Lab Resource", not the Adapter itself. This is the document about it.
https://www.ibm.com/support/knowledgecenter/SSYMRC_4.0.7/com.ibm.rational.test.lm.doc/topics/t_cust_labres_prop.html

As far as I can see, this is the "Machine" lab resource, and as long as you start the adapter on the same machine, you have the same lab resource associated to it. So there is really no need to specify the Software Type attribute when starting the adapter.

 We have to edit lab resource properties dynamically after starting the adapter because the machine  (docker container) doesn't exist before that. 


Is it possible to change lab resource properties per REST call after the lab resource is created in RQM? 

We need a way to do this in an automated fashion. 

Regards

Tunca Karabel 

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
× 6,132
× 1,381
× 14

Question asked: Feb 01 '17, 8:47 a.m.

Question was seen: 3,222 times

Last updated: Apr 06 '17, 5:28 a.m.

Confirmation Cancel Confirm