It's all about the answers!

Ask a question

Link of test case not coming while export test plan.


Anurag Patel (21868) | asked Mar 31 '16, 1:38 a.m.
edited Mar 31 '16, 4:11 a.m.
Hi,

I have created Test Plan, test case and test script and link these artifact with each other.
I exported the Test Plan as a .csv file but the link for test case is not showing in .csv file. 
How I can get the link for the test cases in .csv file.

2 answers



permanent link
Joao Carusi (263314) | answered Mar 31 '16, 8:52 a.m.
edited Mar 31 '16, 8:54 a.m.
Hi Anurag,

Do you see the link for test case when you export it as PDF from the Test Plan?

 


The only option I found to export as .csv was in "Broswer TestPlan".
You can add more columns using "

permanent link
Joao Carusi (263314) | answered Mar 31 '16, 3:43 p.m.
Hi Anurag,

You can create a RFE asking them to update CSV export for TestScript and Testcase column in Test Plan view. In onder to have the Test Script available in "Broswer TestPlan" > "

1) Log in
https://jazz.net/help/
2) Click on link " Submit a bug or suggest an enhancement"
3)
Click on button "Submit a Bug" > "Rational Quality Manager"
4) Fill and submit the Work Item

5) Change the Type from "Defect" to "Enhancement Request"


You can use REST API to create a workaround for that:
https://jazz.net/wiki/bin/view/Main/RqmApi

For example, I could get the following XML using HttpRequester that shows the testcase's URLs from that TestPlan.


<?xml version="1.0" encoding="UTF-8"?>
<ns2:testplan xmlns:ns2="http://jazz.net/xmlns/alm/qm/v0.1/" xmlns:ns1="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:ns3="http://schema.ibm.com/vega/2008/" xmlns:ns4="http://purl.org/dc/elements/1.1/" xmlns:ns5="http://jazz.net/xmlns/prod/jazz/process/0.6/" xmlns:ns6="http://jazz.net/xmlns/alm/v0.1/" xmlns:ns7="http://purl.org/dc/terms/" xmlns:ns8="http://jazz.net/xmlns/alm/qm/v0.1/tsl/v0.1/" xmlns:ns9="http://jazz.net/xmlns/alm/qm/v0.1/testscript/v0.1/" xmlns:ns10="http://jazz.net/xmlns/alm/qm/qmadapter/task/v0.1" xmlns:ns11="http://jazz.net/xmlns/alm/qm/qmadapter/v0.1" xmlns:ns12="http://jazz.net/xmlns/alm/qm/v0.1/executionworkitem/v0.1" xmlns:ns13="http://open-services.net/ns/core#" xmlns:ns14="http://open-services.net/ns/qm#" xmlns:ns15="http://jazz.net/xmlns/prod/jazz/rqm/process/1.0/" xmlns:ns16="http://www.w3.org/2002/07/owl#" xmlns:ns17="http://jazz.net/xmlns/alm/qm/v0.1/executionresult/v0.1" xmlns:ns18="http://jazz.net/xmlns/alm/qm/v0.1/catalog/v0.1" xmlns:ns20="http://jazz.net/xmlns/alm/qm/styleinfo/v0.1/" xmlns:ns21="http://www.w3.org/1999/XSL/Transform">
    <ns2:projectArea href="https://clm601:9443/qm/resource/itemOid/com.ibm.team.process.ProjectArea/_a4MwULS4EeW9ssObHKqCdw" alias="QM1"/>
    <ns4:identifier>https://clm601:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/QM1/testplan/urn:com.ibm.rqm:testplan:11</ns4:identifier>
    <ns2:stylesheet href="https://clm601:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/QM1/testplan/urn:com.ibm.rqm:testplan:11?stylesheet=true"/>
    <ns2:webId>11</ns2:webId>
    <ns4:title>p3</ns4:title>
    <ns4:description/>
    <ns2:creationDate>2016-02-26T15:58:28.131Z</ns2:creationDate>
    <ns6:updated>2016-02-26T15:58:43.384Z</ns6:updated>
    <ns6:state ns1:resource="https://clm601:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/process-info/_a4MwULS4EeW9ssObHKqCdw/workflowstate/com.ibm.rqm.process.testplan.workflow/com.ibm.rqm.planning.common.new">com.ibm.rqm.planning.common.new</ns6:state>
    <ns4:creator ns1:resource="https://clm601:9443/jts/resource/itemName/com.ibm.team.repository.Contributor/CLM">CLM</ns4:creator>
    <ns6:owner>unassigned</ns6:owner>
    <ns2:priority ns1:resource="https://clm601:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/process-info/_a4MwULS4EeW9ssObHKqCdw/priority/literal.priority.101">literal.priority.101</ns2:priority>
    <ns2:locked>false</ns2:locked>
    <ns4:alias>urn:com.ibm.rqm:testplan:11</ns4:alias>
    <ns2:testcase href="https://clm601:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/QM1/testcase/urn:com.ibm.rqm:testcase:27"/>
    <ns2:testcase href="https://clm601:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/QM1/testcase/newtest2"/>

    <ns2:template href="https://clm601:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/QM1/template/testplan/com.ibm.rqm.planning.templates.testplan.default"/>
</ns2:testplan>


If you want to try:
(first login using a browser), then open HttpRequester
URL:
https://<CHANGE_SERVER>:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<PROJECT_ALIAS_ID>/testplan/urn:com.ibm.rqm:testplan:<TESTPLAN_ID>
Authentication: user/password
Header: name: Accept  value: text/plain

Your answer


Register or 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.