send back the result files to RQM while using RQM command line Adaptor.
I am using RQM command line adaptor to run a test. It is successful and receiving the scheduled test id. I am using another utility to poll the test status and once it is complete the result files are downloaded in the same location.
I am running this utility in a batch file. As a result of this batch execution i have to send back the files to RQM from
the location where it stored.
How to send back the result files to RQM?.
One answer
As described in this article, you can attach files to test result by adding file labels and file paths to a text file which RQM provided through "qm_AttachmentsFile" environment variable.
If you are using windows .bat file, and your test generates a test result file into C:/test/result.dat, then inserting the following logic will work.
echo TestResultData=C:/test/result.dat >> %qm_AttachmentsFile%
!! FIXED (removed the double-quote marks) after the reply
Integrating your test tools with IBM Rational Quality Manager using the command-line adapter
https://jazz.net/library/article/809
If you are using windows .bat file, and your test generates a test result file into C:/test/result.dat, then inserting the following logic will work.
echo TestResultData=C:/test/result.dat >> %qm_AttachmentsFile%
!! FIXED (removed the double-quote marks) after the reply
Comments
showing 5 of 7
show 2 more comments