What is the xml tag to link Test script to Test case?
I have test scripts imported to RQM. Now I need to import test cases and add scripts through XML. Can someone please give XML tags that add script and link a Requirement to the Test case XML. How to specify "Test script ID or Name or Link" in the below link.
Following is my code:
<?xml version="1.0"?>
<testcase xmlns="http://jazz.net/xmlns/alm/qm/v0.1/">
<title xmlns="http://purl.org/dc/elements/1.1/">Test_Case_01</title>
<description xmlns="http://purl.org/dc/elements/1.1/">Test the ordering
functionality of the Classics Java application.</description>
<category term="Complexity" value="Complex"/>
<category term="Type" value="MANUAL"/>
<category term="Type of Testing" value="Functional Testing"/>
<category term="Weight" value="100"/>
I need tags here for script and Requirement link
</testcase>
|
2 answers
Hey Sridhar,
<ns2:remotescript href="{host}/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/_joJ8cP-MEeeJ27a7PHh-Ow/remotescript/urn:com.ibm.rqm:remotescript:12345" />
<ns2:remotescript href="{host}/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/_joJ8cP-MEeeJ27a7PHh-Ow/remotescript/slug_djksdn5omd7-fjdkdkm" />
both should work. in test case template you can add this.
|
Sridhar,
You need to use tag <testscript href="path of existing testscript"/> refer REST API @ Wiki.
RQM test artifact and requirement linking are achieved using OSLC linking and you need to refer RQM OSLC API for testcase and requirement linking. Alternatively you could use RQM Excel addin to Link existing requirement to testcase.
Regards,
Mehul
|
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.