How can I import test script step results like Excel/Word Importer Utility via REST API?
The REST API description https://jazz.net/wiki/bin/view/Main/RqmApi gives no clear picture how to do this.
The documentation of Excel/Word Importer Utility provides the information that a generated Microsoft Excel file supports the following items: Step Result, Actual Result, and Comments (read and write). That is exactly the information that I would like to import directly via REST API.
Rational Quality Manager 6.0 is used.
|
Accepted answer
Hi Ralph,
You can do a GET on any exiting result with all this information and then update the XML accordingly and PUT it back to same URL for updating the result and to a new URL to create a new result.
Thanks
Ralph Geister selected this answer as the correct answer
|
3 other answers
Hi Monika,
thank you for your answer.
I already have the knowledge to handle most of the QM artifacts at the REST API (Reportable and OSLC), like Test Cases, TCR, TECR, TSR, TSER.
Comments
Monika Rajput
commented Jun 15 '21, 2:23 a.m.
Yes, the REST PUT on executionstepresult is not supported. You can do this as a part of Execution Result only.
And for Excel Utility, the step result actual result and all the information mentioned is supported when exported as a part of execution result.
|
You opened up a new perspective for me with your answer. So if I relate that to my use case, then I can generate a test case result (executionresult) with test step results (ns16:stepResults). The system then automatically generates the executionelementresult records.
If my use case works, I'll let you know.
Thank you
|
Hi Monika,
it works, thank you very much.
Greetings,
Ralph
|
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.