How to get href or URI of test script which needs to be added to test case through XML?
'in the below xml I need to specify href and vega:id. Where do I get that?
<?xml version="1.0"?>
<testcase xmlns="http://jazz.net/xmlns/alm/qm/v0.1/">
<title xmlns="http://purl.org/dc/elements/1.1/">TC_01_Create Artifact_103</title>
<description xmlns="http://purl.org/dc/elements/1.1/">Testing the create artifact functionality</description>
<category term="Complexity" value="Complex
<category term="Safety Related" value="Yes
<category term="Type" value="MANUAL
<category term="Type of Testing" value="Functional Testing
<testscript href="TS_03" vega:id =???/>
</testcase>
|
One answer
Hi Sridhar,
How did you get this xml? Is it obtained via some GET call on any RQM test artifact? It is not clear in your question.
How ever, If you question is regarding modifying an existing test artifact - then you may have to do a PUT on the target test artifact.
The short answer - do a GET on the artifact. Then modify the content of the GET response, and then perform PUT.
Please see the RQM Reportable REST API WIKI (https://jazz.net/wiki/bin/view/Main/RqmApi):
Comments
Sridhar Boyini
commented May 15 '19, 7:27 a.m.
Hi Abhishek,
Thanks for the answer. I got the XML template from "Help" file of RQM and modified as per my test case. Added category values, Name and Description to it. Now in the above XML I have to include XML tags that link Test script and Requirement to test case.XML tag template for linking is as follows, but I do not know what value I need to give for "href" and "vega:id" in both cases.
Thanks for your time. Your help is very much appreciated. |
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.