Importing From Excel: Making Test Case = Test Script
![](http://jazz.net/_images/myphoto/ba5412cf87df975ba3edd826d30fb543.jpg)
We need to import over a thousand test cases from Testopia to RQM. Since Testopia does not distinguish between 'Test Cases' and 'Test Scripts', we would like to make each line in our excel spreadsheet both a Test Case and a Test Script (and link them together).
Everytime I try a new mapping the results are the same, the first row is used as a Test Case and all the remaining rows are used as Test Scripts to the Test Case. I've place multiple new XLSDelimeters in the mapping to no affect.
What am I doing wrong?
//--- Test Script
testscript.XLSStartRow=2
testscript.scripttype="Manual"
testscript.steps.type="execution"
testscript.alm:state="Approved"
testscript.title=A
testscript.dc:description=B
testscript.steps.description=E
testscript.steps.expectedResult=F
//--- Test Case
testcase.identifier=testscript.title
testcase.dc:title=testscript.dc:description
testcase.dc:description=testscript.dc:description
testcase.Section("myns:com.ibm.rqm.planning.editor.section.testCasePreCondition","RQM-KEY-TC-PRE-COND-TITLE")=C
testcase.Section("myns:com.ibm.rqm.planning.editor.section.testCaseDesign","RQM-KEY-TC-DESIGN-TITLE")=testscript.steps.description
testcase.Section("myns:com.ibm.rqm.planning.editor.section.testCaseExpectedResults","RQM-KEY-TC-EXPECTED-RESULTS-TITLE")=testscript.steps.expectedResult
testcase.category term="Category".value=L
testcase.jzalm:owner=I
testcase.XLSDelimeter=\n
testcase.XLSLink=testscript
-Laurie
Everytime I try a new mapping the results are the same, the first row is used as a Test Case and all the remaining rows are used as Test Scripts to the Test Case. I've place multiple new XLSDelimeters in the mapping to no affect.
What am I doing wrong?
//--- Test Script
testscript.XLSStartRow=2
testscript.scripttype="Manual"
testscript.steps.type="execution"
testscript.alm:state="Approved"
testscript.title=A
testscript.dc:description=B
testscript.steps.description=E
testscript.steps.expectedResult=F
//--- Test Case
testcase.identifier=testscript.title
testcase.dc:title=testscript.dc:description
testcase.dc:description=testscript.dc:description
testcase.Section("myns:com.ibm.rqm.planning.editor.section.testCasePreCondition","RQM-KEY-TC-PRE-COND-TITLE")=C
testcase.Section("myns:com.ibm.rqm.planning.editor.section.testCaseDesign","RQM-KEY-TC-DESIGN-TITLE")=testscript.steps.description
testcase.Section("myns:com.ibm.rqm.planning.editor.section.testCaseExpectedResults","RQM-KEY-TC-EXPECTED-RESULTS-TITLE")=testscript.steps.expectedResult
testcase.category term="Category".value=L
testcase.jzalm:owner=I
testcase.XLSDelimeter=\n
testcase.XLSLink=testscript
-Laurie
5 answers
![](http://jazz.net/_images/myphoto/ba5412cf87df975ba3edd826d30fb543.jpg)
Try placing the following as the first line for the Test Cases section:
testcase.XLSStartRow=2
testcase.XLSStartRow=2
We need to import over a thousand test cases from Testopia to RQM. Since Testopia does not distinguish between 'Test Cases' and 'Test Scripts', we would like to make each line in our excel spreadsheet both a Test Case and a Test Script (and link them together).
Everytime I try a new mapping the results are the same, the first row is used as a Test Case and all the remaining rows are used as Test Scripts to the Test Case. I've place multiple new XLSDelimeters in the mapping to no affect.
What am I doing wrong?
//--- Test Script
testscript.XLSStartRow=2
testscript.scripttype="Manual"
testscript.steps.type="execution"
testscript.alm:state="Approved"
testscript.title=A
testscript.dc:description=B
testscript.steps.description=E
testscript.steps.expectedResult=F
//--- Test Case
testcase.identifier=testscript.title
testcase.dc:title=testscript.dc:description
testcase.dc:description=testscript.dc:description
testcase.Section("myns:com.ibm.rqm.planning.editor.section.testCasePreCondition","RQM-KEY-TC-PRE-COND-TITLE")=C
testcase.Section("myns:com.ibm.rqm.planning.editor.section.testCaseDesign","RQM-KEY-TC-DESIGN-TITLE")=testscript.steps.description
testcase.Section("myns:com.ibm.rqm.planning.editor.section.testCaseExpectedResults","RQM-KEY-TC-EXPECTED-RESULTS-TITLE")=testscript.steps.expectedResult
testcase.category term="Category".value=L
testcase.jzalm:owner=I
testcase.XLSDelimeter=\n
testcase.XLSLink=testscript
-Laurie
![](http://jazz.net/_images/myphoto/ba5412cf87df975ba3edd826d30fb543.jpg)
We need to import over a thousand test cases from Testopia to RQM. Since Testopia does not distinguish between 'Test Cases' and 'Test Scripts', we would like to make each line in our excel spreadsheet both a Test Case and a Test Script (and link them together).
Everytime I try a new mapping the results are the same, the first row is used as a Test Case and all the remaining rows are used as Test Scripts to the Test Case. I've place multiple new XLSDelimeters in the mapping to no affect.
What am I doing wrong?
//--- Test Script
testscript.XLSStartRow=2
testscript.scripttype="Manual"
testscript.steps.type="execution"
testscript.alm:state="Approved"
testscript.title=A
testscript.dc:description=B
testscript.steps.description=E
testscript.steps.expectedResult=F
//--- Test Case
testcase.identifier=testscript.title
testcase.dc:title=testscript.dc:description
testcase.dc:description=testscript.dc:description
testcase.Section("myns:com.ibm.rqm.planning.editor.section.testCasePreCondition","RQM-KEY-TC-PRE-COND-TITLE")=C
testcase.Section("myns:com.ibm.rqm.planning.editor.section.testCaseDesign","RQM-KEY-TC-DESIGN-TITLE")=testscript.steps.description
testcase.Section("myns:com.ibm.rqm.planning.editor.section.testCaseExpectedResults","RQM-KEY-TC-EXPECTED-RESULTS-TITLE")=testscript.steps.expectedResult
testcase.category term="Category".value=L
testcase.jzalm:owner=I
testcase.XLSDelimeter=\n
testcase.XLSLink=testscript
-Laurie
Try something like:
Configuration:
testscript.XLSStartRow=1
testscript.dc:title=A
testscript.dc:description=B
testcase.dc:description=testscript.dc:description
testcase.XLSStartRow=1
testcase.dc:title=A
Excel:
A B
1 title1 description1
2 title2 description2
![](http://jazz.net/_images/myphoto/ba5412cf87df975ba3edd826d30fb543.jpg)
Try something like:
Configuration:
testscript.XLSStartRow=1
testscript.dc:title=A
testscript.dc:description=B
testcase.dc:description=testscript.dc:description
testcase.XLSStartRow=1
testcase.dc:title=A
Excel:
A B
1 title1 description1
2 title2 description2
Same results, the first row becomes the test case and the remaining rows become steps in the test script the test case is linked to.
-Laurie
Comments
![](http://jazz.net/_images/myphoto/5790987c966b36ec0ab04d68a874e68f.jpg)
Were you able to get this working? This post is from last year, but I don't see an update to know if you got it working. I have to do something similar and import 3000+ testopia as well, and am not that familiar with the process of doing this, RQMExcelWord importer, etc. How do you get the records from testopia into an excel format, and what is the configuration (mapping) file that you used? Thanks for any help you can provide!