Importing a testcase and linking it to an existiing testsuite
I am trying to import testcases via ecxelimport utility that are linked to existing testscripts AND to existing testsuites.
I managed to link the existing script to the testcase, but I failed with the testsuite.
Here is what I tried:
testcase.XLSStartRow=6
testcase.priority=A
testcase.dc:title=C
testcase.jzalm:owner=D
testcase.dc:description=E
testcase.Section("myns:com.ibm.rqm.planning.editor.section.testCasePreCondition","RQM-KEY-TC-PRE-COND-TITLE")=F
testcase.testscript=Link("urn:com.ibm.rqm:testscript:"&G)
testcase.testsuite=Linkexisting("urn:com.ibm.rqm:testsuite:"&H)
but when I generate the XML file, there is no mention of the testsuite. The linking to the testscript works great.
What should I do?
2 answers
Did you try to export the excel directly to the server instead of generating the xml?
Does the linking show up when you use export to repository option
Comments
HI Dan, thanks a lot for your help, your last answer helped me.
So for everybody else: it might be a problem with creating teststuites, but if you want to import testcases and link them to an existing testsuite, make sure to only include the inkexisting part and comment out the part with the testsuite reference. Also it is necessary to import via direct rqm import.
My complete and working CFG is then:
testcase.XLSStartRow=6
testcase.dc:title=A
testcase.jzalm:owner=B
testcase.dc:description=C
testcase.Section("myns:com.ibm.rqm.planning.editor.section.testCasePreCondition","RQM-KEY-TC-PRE-COND-TITLE")=D
testcase.testscript=Link("urn:com.ibm.rqm:testscript:"&E)
testcase.priority=F
testcase.category term="Release".value=G
testcase.category term="Regression".value=H
testcase.testsuite= Linkexisting("urn:com.ibm.rqm:testsuite:"&B2)
Comments
Don Yang
Nov 30 '15, 10:45 p.m.