It's all about the answers!

Ask a question

How to export all Test Cases and Test Scripts from RQM


Prashantha Kumari (346) | asked Aug 18 '17, 5:57 a.m.

Hello,


            We are trying to export all Test Cases and Test Scripts from RQM as we are migrating to JIRA. We tried from the Browser interface But it just exports the Test Script Title and its Properties.  We would like to get all the Test Steps too.

 Please let me know how to export all Test Cases and Test Scripts.

Thanks,
Prashanthi.

One answer



permanent link
Ian Wark (7142840) | answered Aug 21 '17, 7:35 a.m.

I found this earlier post. Ara explains how to use the REST API to get the Test Scripts in XML. In the last comment Christophe shows how to get the actual Test Script steps in Excel. Does this help?
https://jazz.net/forum/questions/129368/export-test-script-steps-from-rqm-to-excel-v402

You may need to refer to this for more details on the REST API
https://jazz.net/wiki/bin/view/Main/RqmApi#Usage_Basics


Comments
Prashantha Kumari commented Aug 21 '17, 12:22 p.m.

 Thanks for update. Yes We tried using REST API. It will give in xml format. But it gives only the summary...say ID and title.  We need to get steps also for for all test scripts in PA.  Please let how we can get all information in excel format.


Ian Wark commented Aug 22 '17, 1:52 a.m.

When I tried a REST API call in RTC 6.0.3 it collected all the information in the test script including the sample step.

My project area uses unicode chars, but is otherwise like Ara's example:
https://clm.jkebanking.net:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/JKE+Banking+%28%E5%93%81%E8%B3%AA%E7%AE%A1%E7%90%86%29/testscript/urn:com.ibm.rqm:testscript:7

I added the Accept header: application/xml

Here is the Test Script:

Test Case Example

Here is the result in the REST call from browser:

REST Response

Did you check the steps at the end of the post from Christophe Lucas using the Excel Importer? That looks like a good option to get the steps and images as Excel.

Your answer


Register or to post your answer.