How can I link a RQM Test Case and a DNG Requirement using import files
We are trying to migrate a large (>500K) test cases and associated requirements to the CLM toolset, so using GUI operations to link requirements and test cases is NOT a reasonable solution for us.
We are using the 6.0 version of the CLM suite.
Problems we have solved:
I can successfully import DNG requirements in ReqIF (or csv, but that didn't provide for any linking) format. And I can put a link to a test case in the body of the requirement; however, I want it to be a "validates" type of link, not just a plain hyperlink.
I can import Test Case files via XML format, and link them to Test Scripts, if I (1) first import the XML for the Test Script and (2) then use the Atom feed to gather the Test Scripts and their data (having put a "special piece of data" in the test script) and then (3) generate the test case with a link to the correct test script.
Remaining Problem:
I was hoping to follow a similar pattern to the test scripts to either (a) import DNG requirements, and download the data that would give in the link to use in the test case, or (b) import the test cases, download data, and using that data to create a link the in requirement.
I manually created a set of linked DNG requirements and RQM test cases in an attempt to discover what data was needed.
However, the downloaded ReqIF doesn't show any value that looks like any ID associated with the test case, and the XML downloaded for the test case does not show any link for the requirement!
|
2 answers
Hi, David
I remember that ReqIF does not support OSLC link before 6.0, I am not sure if there is any enhancement on that. Based on your descriptions, you may want to check if RQMExcelImporter can help. Please review https://jazz.net/wiki/bin/view/Main/RQMExcelWordImporter [Linking test artifacts with existing RM requirement artifacts] section and see if that can help to achieve your goals. If you want to give it a try, please download v6.0.1 RQMExcelImporter due to the known defect: https://jazz.net/jazz02/web/projects/Rational%20Quality%20Manager#action=com.ibm.team.workitem.viewWorkItem&id=139346 I hope this helps. |
With such a huge number of artifacts to work with, I believe a custom application would be the way to go. The time and effort that you invest in the coding should be worthwhile.
https://jazz.net/library/article/1197 https://jazz.net/wiki/bin/view/Main/RqmApi Since you've already put a hyperlink of the test case in the primary text of the requirement, the custom application just needs to loop through all the requirements, extract the test case link from the primary text, and update the test case (and the requirement) with the desired link type. Comments
David Babuder
commented Nov 11 '16, 11:28 a.m.
I was looking for how, in terms of API calls, to do this. It isn't apparent from the RQMApi as of 6.0. Having the link to the test case, with either the internal id (uuid identifier) or the visible identifier (integer representing the instance number of the test case), and then trying to insert that into the XML for a requirement that is imported does not work. I'm willing to work via the API rather than an XML import, but I don't see data I'm supposed to supply, and what field(s) I'm supposed to apply the data to, so that the PUT or UPDATE will correctly tie the requirement and test case together. |
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.