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

RQM Command Line Adapter - Set Result Details

Hi everyone,

after reading the following (very helpful) article:

I'm wondering how to set the result details of a Test Execution Record when using the Command Line Adapter.

I can attach file contents or script output with no problem by using the provided environmental variable qm_AttachmentsFile, but I'd really like to include a small portion of text as a summary and not only a list of attachment files, if that is possible.

Thank you in advance for any answers.

0 votes

Comments

 Is there even a possiblity like this?



3 answers

Permanent link
Hi Christian,

Although I have not added text to the Result Details section of the Test Result, I do use a modified Command Line Adapter to update the Notes field.

The download package for the Command Line Adapter includes the source and there is even a line commented out (in com.ibm.rqm.adapter.commandline.CommandLineAdapter.runTest() ) which shows you how to update the code to add some information to the Notes field in the Test Result.

Putting the information in the Notes field is not quite as convenient for someone viewing the record, but I was able to add some useful links into the Notes field which are used to retrieve diagnostics from the product under test, for example.

I also find the Custom Properties section is useful to hold useful information about the test run - these can be set without modifying the Command Line Adapter, as described in the article you have already referenced.

Colin

1 vote

Comments

 Hi Colin,


thanks for coming forward with your answer, the Notes field would indeed be a nice workaround to the problem.

After having a quick glance at the source code, it seemed to me, that it might also be possible to use other the other setters in the AbstractLogResult class, which is provided inside the 'com.ibm.rqm.adapter.library_2.0.3.v20121024_2020'-jar.

Unfortunately, a setter for result details itself is not among them. I'm still wondering why this functionality wasn't included.


Permanent link
Hi Christian,

Unfortunately, this is not supported with CLA. Please file an enhancement for this.

Thanks,
Deepa

0 votes


Permanent link

 is this feature implemented now? i would like to add text content in Result Details for test case using command line script.


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
× 12,023
× 3

Question asked: May 06 '13, 3:25 a.m.

Question was seen: 10,091 times

Last updated: Dec 24 '18, 7:33 a.m.

Confirmation Cancel Confirm