RQM 5.0 : RQM Integration with Java Application through Command Line Interface
![]()
I am tasked to kick off simple java application on some other machine and return back it's output to RQM after Test execution. I have done this by command line interface, registering Adapter and kicking off that java application by a .bat file on target machine, it's working fine.
now, i want to pass some argument form RQM and access these argument in that java application for processing, can any one help out how can i pass argument and receive them in Java application ? Thanks in Advance. |
Accepted answer
![]()
Hi Naveen,
Try using Execution variables in your Commandline Script in RQM https://jazz.net/help-dev/clm/index.jsp?re=1&topic=/com.ibm.rational.test.qm.doc/topics/t_configselenadp.html&scope=null Execution variables in command-line scriptsWhen you run a command-line test that includes execution variables, the values of the execution variables are provided as environment variables to the process that runs the command-line test. The names of those environment variables start with "qm_" to distinguish them from other environment variables. For example, if a test suite contains an execution variable that is named myVar , an environment variable that is named qm_myVar is created.Naveen Tyagi selected this answer as the correct answer
|
One other answer
![]()
Hi Naveen,
Try using Execution variables in your Commandline Script in RQM https://jazz.net/help-dev/clm/index.jsp?re=1&topic=/com.ibm.rational.test.qm.doc/topics/t_configselenadp.html&scope=null |