link test plan to test suite using RQM import
We are using RQM 6.0.3 and RQM import utility (6.0.3). I want to know if we can link a test plan to a test suite using the excel import. Test plan and test suite both doesn't exist in RQM.
3 answers
Hi, Amit
testplan.XLSLink=testsuite should work.For example from the sample cfg file:
'TestSuite with TestCases 001.cfg'
I tried something quick like
testsuite.dc:title=C1
testsuite.dc:description=A4
testplan.dc:title=C1
testplan.dc:description=A4
testplan.XLSLink=testsuite
as a new cfg file and use the same 'TestSuite with TestCases 001.xls' to export, I would see the new test plan has test suite added to testsuite section,
Comments
Hi Don,
We have tried using testplan.XLSLink=testsuite multiple times and it never worked. Although it did work for sample you quoted above.
Following is my config file information. Please suggest if missing something here:
============================
testscript.XLSStartRow=11
testscript.steps.type="execution"
testscript.dc:title=B
testscript.dc:description=D
testscript.steps.title=E
testscript.steps.description=F
testscript.steps.expectedResult=G
testscript.steps.comment=L
testscript.XLSDelimeter="\n"
testcase.XLSStartRow=11
testcase.dc:title=testscript.dc:title
testcase.dc:description=C
testcase.Section("myns:com.ibm.rqm.planning.editor.section.testCasePreCondition","RQM-KEY-TC-PRE-COND-TITLE")=D
testsuite.dc:title=A11
testsuite.XLSLink=testcase
testplan.dc:title=B1
testplan.XLSLink=testsuite
===========================================
I tried the sample Testsuite with testcases that have testscripts.cfg/Testsuite with testcases that have testscripts.xls, in which it has testscript, testcase, test suite creation and linkage configuration file. I simply add the below to the end of cfg file for testplan creation and link to testsuite(I believe the scenario is the same as yours):
//the below is existing testsuite bit in cfg file
testsuite.dc:title=B1
testsuite.dc:description=B2
testsuite.XLSLink=testcase
//adding the below to create testplan and link test suite to it
testplan.dc:title=B1
testplan.dc:description=B2
testplan.XLSLink=testsuite
This works for me with no problem. I tested it with RQMExcelImporter 6.0.4 and RQM6.0.4. You may want to try with RQMExcelImporter 604 and see if it helps if the above sample does not work for you.
The construct above suggested by Don does not work for me with the sample file: