Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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.

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.

0 votes


Accepted answer

Permanent link
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

0 votes

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)


2 other answers

Permanent link
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

0 votes


Permanent link
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

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,023

Question asked: Dec 18 '14, 11:22 a.m.

Question was seen: 4,754 times

Last updated: Oct 06 '16, 9:44 a.m.

Confirmation Cancel Confirm