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

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.

0 votes


Accepted answer

Permanent link

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

0 votes

Comments

The following chat solved my problem


3 other answers

Permanent link
Hi Monika, 

it works, thank you very much.


Greetings,
Ralph

0 votes


Permanent link

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

0 votes


Permanent link

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. 

So far, my attempts to import test step results have failed. Test results, on the other hand, are possible without any problems. It is a mystery to me how it can even work, since the artifact type executionstepresult  allows only a GET request. In addition, the data model for the relationship between test case results and test step results is not clearly documented.

0 votes

Comments

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.


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
× 10,926

Question asked: Jun 14 '21, 1:22 p.m.

Question was seen: 1,160 times

Last updated: Jun 15 '21, 4:10 a.m.

Confirmation Cancel Confirm