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

How to import/export test script step's actual results from/to a file ? in RQM tool

 when a test step is passed then usually we have to write the expected results into actual results with some modifications only 
and this is very labor some if you have to do it manually for large number of steps 
i wanted to export all steps to a file and do some modifications with English sentences and then import all steps into corresponding actual results 
My question is , is there any feature for importing exporting steps?

0 votes


Accepted answer

Permanent link

   Hi,


There is no web UI feature for exporting and importing steps. 

You could use the ETM REST API though to export all steps for a manual script to XML with: 
GET https://<server>:<port>/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<ProjectAlias>/testscript/urn:com.ibm.rqm:testscript:<ID> 

And you can get the test case result with the actual result with:
GET https://<server>:<port>/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<ProjectAlias>/executionresult/urn:com.ibm.rqm:executionresult:<ID> 

That XML includes:
            <ns16:expectedResult>
                <div xmlns="http://www.w3.org/1999/xhtml">
                    <div dir="ltr">this is the expected result</div>
                </div>
            </ns16:expectedResult>
            <ns16:actualResult>
                <div xmlns="http://www.w3.org/1999/xhtml">this is the ACTUAL RESULT</div>
            </ns16:actualResult>
            <ns16:description>
                <div xmlns="http://www.w3.org/1999/xhtml">description</div>
            </ns16:description>
            <ns16:stepType>com.ibm.rqm.execution.common.elementtype.execution</ns16:stepType>
        </ns16:stepResult>

Also, have you looked at the offline execution functionality? That will include the scripts steps and you can just  copy/paste that in step result with extra content and push it back to ETM. Please see https://www.ibm.com/support/knowledgecenter/SSYMRC_7.0.1/com.ibm.rational.test.qm.doc/topics/t_run_offline.html

Thanks, Brett  

pavan kumar selected this answer as the correct answer

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
× 1,700

Question asked: Oct 02 '20, 12:58 a.m.

Question was seen: 1,508 times

Last updated: Oct 02 '20, 12:52 p.m.

Related questions
Confirmation Cancel Confirm