It's all about the answers!

Ask a question

RQM Word Importer - Importing Test Case Design Section, first match used for all cases.


Piotr Pawlowski (1222) | asked Dec 18 '14, 11:22 a.m.
Hi,

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


permanent link
Reshma Ratnani (1.1k1) | answered Jan 05 '15, 5:05 a.m.
JAZZ DEVELOPER
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. DOCTableStartRow = 2 and see if that helps
Piotr Pawlowski selected this answer as the correct answer

Comments
Piotr Pawlowski commented Jan 07 '15, 7:52 a.m.

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)

2 other answers



permanent link
Piotr Pawlowski (1222) | answered Oct 06 '16, 9:43 a.m.
Accidentally set the state of this to resolved.

Could not get this to work when importing from Word, should not be an issue with excel

permanent link
Piotr Pawlowski (1222) | answered Oct 06 '16, 9:44 a.m.
Accidentally set the state of this to resolved.

Could not get this to work when importing from Word, should not be an issue with excel

Your answer


Register or to post your answer.