Hao Wan (
1.5k●3●5)
| answered Jul 01 '13, 1:07 a.m.
JAZZ DEVELOPER
hi Sharon,
you could use the config
requirement.resourceShape = X" for requirement.
and use testcase.requirement=Link(***) /refer to the following config file in the sample "TestPlan Requirement Collection Test Case and Requirements.cfg" in 4.0.3
// this configuration file will create a static testplan and a testase object for each one listed
// and link all testcase to the testplan, and link test plan with RM requirement collection and link RM requirement with RM requirement collection
// and also link testcase with RM requirement.
testplan.dc:title=C1
testplan.Section("myns:com.ibm.rqm.planning.editor.section.planBusinessObjectives","RQM-KEY-TP-BUSS-OBJ-TITLE")=C2
testplan.Section("myns:com.ibm.rqm.process.web.entryCriteria","RQM-KEY-PROC-ENTRY-CRITERIA-TITLE")=C3
testplan.Section("myns:com.ibm.rqm.process.web.exitCriteria","RQM-KEY-PROC-EXIT-CRITERIA-TITLE")=C4
testplan.XLSLink=testcase
testplan.XLSWorksheetID="Acme Hammers"
testplan.requirementCollection=Link(C1)
testcase.XLSStartRow=7
testcase.XLSWorksheetID="Acme Hammers"
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")=K
testcase.Section("myns:com.ibm.rqm.planning.editor.section.testCasePostCondition","RQM-KEY-TC-POST-COND-TITLE")=L
testcase.requirement=Link(A)
requirementCollection.dc:title=C1
requirementCollection.XLSArtifactID=C1
requirementCollection.XLSWorksheetID="Sheet1"
requirementCollection.resourceShape="Test Plan Collection"
requirementCollection.XLSLink=requirement
requirement.XLSStartRow=6
requirement.XLSArtifactID=A
requirement.dc:title=B
requirement.dc:description=C
requirement.jzalm:owner=D
requirement.dc:creator=D
requirement.XLSWorksheetID="Sheet1"
requirement.resourceShape="Requirement"
Sharon Segal selected this answer as the correct answer
Comments
Thank you, Hao. This is nearly everything I need. I would also like to import 'special procedural requirements' into the testcase.Section. Would you know where I can find the element name for the import config file?