Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

I would like to import test cases element 'special procedural requirements' from Excel to RQM 4.0.1 but cannot find the element name needed for the cfg. Has anyone else tried to import this test case section?

I would like to import test cases element 'special procedural requirements' from Excel to RQM 4.0.1 but cannot find the element name needed for the cfg.  Has anyone else tried to import this test case section?

0 votes

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?


Accepted answer

Permanent link
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

0 votes

Comments

Whilst this gives a configuration file for the purposes of import, it does not provide the "how to get the test case section name" for a section that has been added to the system e.g. custom

How does one find that information

1 vote

Karen,

If your Test Case has a custom section, you can obtain the ID by looking at the xml of the Test Case Template
The here is an example on what the XML would look like in a Test Plan Template:

<ns2:section content="" name="MyCustomTPsectionForDemo" id="com.ibm.rqm.planning.editor.section.dynamicSection_1379687368053" description="Created this section for a demo"/>

and the cfg file would look something like this:

testplan.Section("myns:com.ibm.rqm.planning.editor.section.dynamicSection_1379687368053","MyCustomTPsectionForDemo")=B9

1 vote

Agreed that's what I'm asking .. where to I go / what do I use to see the XML ???

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938

Question asked: Jun 27 '13, 2:06 p.m.

Question was seen: 6,258 times

Last updated: Feb 06 '15, 10:15 a.m.

Confirmation Cancel Confirm