Import Test Cases with category (Excel File) RQM 2
Import Test Cases with an Excel File
When I Import list of Test Cases without Category, all Test Cases in the Excel sheet are generated in an XML file.
(example of the Config file)
testcase.XLSStartRow=3
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
When I Import list of Test Cases with at least one Category, only the first Test Case in the Excel sheet is generated in an XML file.
(example of the Config file)
testcase.XLSStartRow=3
testcase.dc:title=B
testcase.dc:description=E
testcase.category term="Category".value=M
testcase.category term="Function".value=N
testcase.category term="Test Phase".value=O
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
Someone know how to generate all the Test Cases with the Category ?
When I Import list of Test Cases without Category, all Test Cases in the Excel sheet are generated in an XML file.
(example of the Config file)
testcase.XLSStartRow=3
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
When I Import list of Test Cases with at least one Category, only the first Test Case in the Excel sheet is generated in an XML file.
(example of the Config file)
testcase.XLSStartRow=3
testcase.dc:title=B
testcase.dc:description=E
testcase.category term="Category".value=M
testcase.category term="Function".value=N
testcase.category term="Test Phase".value=O
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
Someone know how to generate all the Test Cases with the Category ?
7 answers
I had no problem...
testcase.XLSStartRow=2
testcase.dc:title=I
testcase.dc:description=L
testcase.category term="Category".value=C
testcase.category term="Function".value=E
testcase.category term="Theme".value=D
testcase.jzalm:owner=F
testcase.Section("myns:com.ibm.rqm.planning.editor.section.testCaseDesign","RQM-KEY-TC-DESIGN-TITLE")=L
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")=
testcase.Section("myns:com.ibm.rqm.planning.editor.section.testCaseExpectedResults", "RQM-KEY-TC-EXPECTED-RESULTS-TITLE")=O
testcase.XLSStartRow=2
testcase.dc:title=I
testcase.dc:description=L
testcase.category term="Category".value=C
testcase.category term="Function".value=E
testcase.category term="Theme".value=D
testcase.jzalm:owner=F
testcase.Section("myns:com.ibm.rqm.planning.editor.section.testCaseDesign","RQM-KEY-TC-DESIGN-TITLE")=L
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")=
testcase.Section("myns:com.ibm.rqm.planning.editor.section.testCaseExpectedResults", "RQM-KEY-TC-EXPECTED-RESULTS-TITLE")=O
I'm seeing the same thing, anyone have a solution?
testcase.XLSStartRow=2
testcase.jzalm:owner=A
testcase.dc:title=B
testcase.dc:description=C
testcase.category term="FVT Scenario".value=D
testcase.category term="LI".value=E
testcase.category term="Test Domain".value=F
testcase.XLSStartRow=2
testcase.jzalm:owner=A
testcase.dc:title=B
testcase.dc:description=C
testcase.category term="FVT Scenario".value=D
testcase.category term="LI".value=E
testcase.category term="Test Domain".value=F
Import Test Cases with an Excel File
When I Import list of Test Cases without Category, all Test Cases in the Excel sheet are generated in an XML file.
(example of the Config file)
testcase.XLSStartRow=3
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
When I Import list of Test Cases with at least one Category, only the first Test Case in the Excel sheet is generated in an XML file.
(example of the Config file)
testcase.XLSStartRow=3
testcase.dc:title=B
testcase.dc:description=E
testcase.category term="Category".value=M
testcase.category term="Function".value=N
testcase.category term="Test Phase".value=O
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
Someone know how to generate all the Test Cases with the Category ?
Here is my cfg file (below)
I pull in Function, Test Case, Description, Category and even set the test case/script to "underreview" so we can verify them after the import before they are ready to be used.
// this configuration file creates testscripts with testcases using self referential
// and column based data with categories
// Start looking for scripts after row 1
testscript.XLSStartRow=2
//a new script starts when we encounter an empty row
testscript.XLSDelimeter=\n
testscript.dc:title=E
//set testscript state to "Approved"
//testscript.alm:state ="com.ibm.rqm.planning.common.approved"
testscript.alm:state="com.ibm.rqm.planning.common.underreview"
testscript.dc:description=F
//step type is defined within the spreadsheet
testscript.steps.type="execution"
testscript.steps.description=I
testscript.steps.expectedResult=K
//test case defined with definite cell locations
testcase.dc:title=A2
//set testcase state to "Approved"
testcase.alm:state="com.ibm.rqm.planning.common.underreview"
testcase.dc:description=B2
testcase.Section("myns:com.ibm.rqm.planning.editor.section.testCasePreCondition","RQM-KEY-TC-PRE-COND-TITLE")=Pre(D2)
testcase.category term="Function".value=V2
testcase.category term="Category".value=U2
testcase.category term="Test Phase".value=W2
testcase.category term="Theme".value=X2
testcase.XLSLink=testscript
I pull in Function, Test Case, Description, Category and even set the test case/script to "underreview" so we can verify them after the import before they are ready to be used.
// this configuration file creates testscripts with testcases using self referential
// and column based data with categories
// Start looking for scripts after row 1
testscript.XLSStartRow=2
//a new script starts when we encounter an empty row
testscript.XLSDelimeter=\n
testscript.dc:title=E
//set testscript state to "Approved"
//testscript.alm:state ="com.ibm.rqm.planning.common.approved"
testscript.alm:state="com.ibm.rqm.planning.common.underreview"
testscript.dc:description=F
//step type is defined within the spreadsheet
testscript.steps.type="execution"
testscript.steps.description=I
testscript.steps.expectedResult=K
//test case defined with definite cell locations
testcase.dc:title=A2
//set testcase state to "Approved"
testcase.alm:state="com.ibm.rqm.planning.common.underreview"
testcase.dc:description=B2
testcase.Section("myns:com.ibm.rqm.planning.editor.section.testCasePreCondition","RQM-KEY-TC-PRE-COND-TITLE")=Pre(D2)
testcase.category term="Function".value=V2
testcase.category term="Category".value=U2
testcase.category term="Test Phase".value=W2
testcase.category term="Theme".value=X2
testcase.XLSLink=testscript
Thanks Dan for the post. Examples like your's can save a lot of time.
I used someone else's cfg file and their's loaded fine. I then went back and tried mine again and it started working. Very strange.
Thanks again,
For those you did not know, there are samples with the tool:
https://jazz.net/wiki/bin/view/Main/RQMExcelWordImporter#Document_Configuration