[closed] Linking a Test Case in RQM with a requirement in RRC
I am trying to create test cases in Rational Quality manager and link them to Requirements in Rational Requirements Composer.
I was using the RQMExcelWordImporter utility 4.01 to generate the XML files from my excel spreadsheet and the method of directly exporting them to the repository.
I use the configuration file as mentioned below:
testcase.XLSStartRow=2
testcase.dc:title=B
testcase.dc:description=E
testcase.jzalm:owner=C
testcase.Section("myns:com.ibm.rqm.planning.editor.section.testCaseDesign","RQM-KEY-TC-DESIGN-TITLE")=F
testcase.Section("myns:com.ibm.rqm.planning.editor.section.testCasePreCondition","RQM-KEY-TC-PRE-COND-TITLE")=G
testcase.Section("myns:com.ibm.rqm.planning.editor.section.testCasePostCondition","RQM-KEY-TC-POST-COND-TITLE")=H
testcase.Section("myns:com.ibm.rqm.planning.editor.section.testCaseExpectedResults","RQM-KEY-TC-EXPECTED-RESULTS-TITLE")=I
testcase.requirement=Link(A)
requirement.XLSStartRow=2
requirement.XLSArtifactID=A
requirement.dc:title=A
requirement.dc:description=B
requirement.jzalm:owner=D
requirement.dc:creator=D
requirement.XLSWorksheetID="Requirements"
The excel spreadsheet has 2 sheets. 1 named "TestCases" and another one named "Requirements". There are 3 test cases and 3 requirements. Each test case mapping to a requirement.
I use the utility to export these artifacts (Test cases to RQM and Requirements to RRC) to the repository and create links between them.
When the utility completes its execution, 3 test cases get created in RQM and 3 requirements get created in RRC. But the test cases do not have any link to the requirement. In addition to the 3 test cases created, 3 more test cases (using the same details as the ones in the requirements sheet) gets created in RQM and they have the link to the requirements in RRC.
Can anyone please point me to something that I am doing wrong here? Or, what else should i try to successfully create the artifacts and create the link between the Test Cases (in RQM) and Requirements (in RRC)?
Thanks
The question has been closed for the following reason: "The question is answered, right answer was accepted" by rschoon May 25 '17, 12:20 p.m.
Accepted answer
Hi Vijay,
From Excel Importer 4.0,
the your config file will create new requirement every time,
when link testcase to existing requirement, you need to check the "Linking to existing RM requirement" check box.
and do the linking through Excel Importer UI.
you can refer to the links provided by Max.
From Excel Importer 4.0,
the your config file will create new requirement every time,
when link testcase to existing requirement, you need to check the "Linking to existing RM requirement" check box.
and do the linking through Excel Importer UI.
you can refer to the links provided by Max.
Comments
1 vote
showing 5 of 8
show 3 more comments
6 other answers
from Excel Importer 4.0 the Reportable REST API for requirement is Formally deprecated in RQM 4.0 and will no longer be supported in the next major release any more, and requirement are created through OSLC in 4.0
Could you explain this a little more? Are we losing the Excel importer functionality?
@Hao Wan.. Thanks a lot for helping me resolve the earlier problem.. I am now able to upload test cases and requirements in 2 worksheets and am able to link them successfully...
I also came across the LinkExisting() modifier.. so is there a way to import Test Cases and link them to existing requirement in RRC? I don't want to use the RQMWordExcelImporter Utility's Interface and do the linking, instead is there an alternative approach using the LinkExisting() modifier and import the test cases and link them to exiting requirements?
Hi Vijay,
the LinkExisting() modifier is only for link to existing master test asset, if you want to link to existing requirement you can have a try with check the "Linking to existing RM requirement" check box. This Feature is added in Excel Importer 4.0.1
the LinkExisting() modifier is only for link to existing master test asset, if you want to link to existing requirement you can have a try with check the "Linking to existing RM requirement" check box. This Feature is added in Excel Importer 4.0.1
Comments
An RFE has been raised for this issue: http://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=51138
Comments
VIJAY SUNDARESHWARAN
Dec 06 '12, 3:03 p.m.Max Bridges
FORUM MODERATOR / JAZZ DEVELOPER Dec 06 '12, 3:54 p.m.1 vote