RQM Word Importer - Importing Test Case Design Section, first match used for all cases.
Hi,
I am trying to import Word document with multiple top level test cases (RQM4.0.5) as in example below.
with the following config file:
testcase.DOCStart="1."
testcase.dc:title=List("*.*")
testcase.Section("myns:com.ibm.rqm.planning.editor.section.testCaseDesign","RQM-KEY-TC-DESIGN-TITLE")=Pre(Table("Description").A2)
This code however populates Test Case Design section with the content of the very first match for all of the following test cases:
in Test 1 - Test Case Design is Text 1
in Test 2 - Test Case Design is Text 1
What do I need to change to make it grab the correct text? i.e.
in Test 1 - Test Case Design is Text 1
in Test 2 - Test Case Design is Text 2
I have tried using:
testcase.Section("myns:com.ibm.rqm.planning.editor.section.testCaseDesign","RQM-KEY-TC-DESIGN-TITLE")=Pre(Table("Description").A)
but the result was:
Test 1 - Description
Test 2 - Text 1
Please help.
I am trying to import Word document with multiple top level test cases (RQM4.0.5) as in example below.
1.1 Test 1
Description |
Requirement Covered |
Text 1 |
[Covers:REQXXXX] |
1.2 Test 2
Description |
Requirement Covered |
Text 2
|
[Covers:REQXXXX]
|
with the following config file:
testcase.DOCStart="1."
testcase.dc:title=List("*.*")
testcase.Section("myns:com.ibm.rqm.planning.editor.section.testCaseDesign","RQM-KEY-TC-DESIGN-TITLE")=Pre(Table("Description").A2)
This code however populates Test Case Design section with the content of the very first match for all of the following test cases:
in Test 1 - Test Case Design is Text 1
in Test 2 - Test Case Design is Text 1
What do I need to change to make it grab the correct text? i.e.
in Test 1 - Test Case Design is Text 1
in Test 2 - Test Case Design is Text 2
I have tried using:
testcase.Section("myns:com.ibm.rqm.planning.editor.section.testCaseDesign","RQM-KEY-TC-DESIGN-TITLE")=Pre(Table("Description").A)
but the result was:
Test 1 - Description
Test 2 - Text 1
Please help.
Accepted answer
Hi Piotr,
The first cfg solution will set the Test Case Design to the value in Cell A2, that is why you get same value for both the TestCase
Regarding 2nd cfg solution , try setting testcase.
The first cfg solution will set the Test Case Design to the value in Cell A2, that is why you get same value for both the TestCase
Regarding 2nd cfg solution , try setting testcase.
DOCTableStartRow
= 2 and see if that helps
Comments
Hi Reshma,
Thank you for your response. I've followed your suggestion but it doesn't seem to have any the desired effect.
testscript.DOCStart="1."
testscript.dc:title=List(".")
testcase.DOCStart="1."
testcase.dc:title=testscript.dc:title
testcase.DOCTableStartRow=2
testcase.Section("myns:com.ibm.rqm.planning.editor.section.testCaseDesign","RQM-KEY-TC-DESIGN-TITLE")=Pre(Table("Description").A)
The result was:
test 1 - [empty]
test 2 - Description(table row)