It's all about the answers!

Ask a question

Why does RQMWordImporter duplicate TC details?


Arkadiusz Jemielity (1111) | asked Jul 10 '15, 5:02 a.m.
edited Jul 10 '15, 5:13 a.m.

Hi,
I'm using RQMWordImporter 4.0.6 to import multiple test cases and test scripts from Word document.

Word document has the following structure:
1. Heading with TC1 name
table with TestCase1 details
Table with TestScript1 details
2. Heading with TC2 name
table with TestCase2 details
Table with TestScript2 details
...

During import I use conf file as below:

testcase.dc:title=Table("TC").B2 & " " & Table("TC").B3
testcase.dc:description=Table("TC").B4
testcase.Section("myns:com.ibm.rqm.planning.editor.section.testCasePreCondition","RQM-KEY-TC-PRE-COND-TITLE")=Pre(Table("TC").B5)
testcase.Section("myns:com.ibm.rqm.planning.editor.section.testCaseExpectedResults","RQM-KEY-TC-EXP-RESULTS-TITLE")=Pre(Table("TC").B6)
testcase.Section("myns:com.ibm.rqm.planning.editor.section.testCaseNotes","RQM-KEY-TC-NOTES-TITLE")=Pre(Table("TC").B7)

testscript.dc:title=List("*.")
testscript.steps.type="execution"
testscript.steps.name=Table("Step").B
testscript.steps.description=Table("Step").B
testscript.steps.expectedResult=Table("Step").C
testscript.DOCTableStartRow=2

 

and importer works fine.

 

But when I add line to link test case and test script to conf file

testcase.dc:title=testscript.dc:title

importer does’t work properly, because test cases are imported with the same details. First TestCase  is imported fine. Each next TestCase has the same details as TestCase1.

 

I don’t know what’s wrong.

Could  you help me?

 

Regards,

Arek

 

One answer



permanent link
Reshma Ratnani (1.1k1) | answered Jul 30 '15, 7:25 a.m.
JAZZ DEVELOPER
Hi Arek,

Try to have a unique identifier for each TestCase. The TestScript also should have same identifier as TestCase. Something like below

testscript.DOCArtifactID=Table(TC).B3
testcase.DOCArtifactID=Table(TC).B3

See if having unique external Ids makes any diff or not

Also have you tried importing sample "TestScript in Tables 002.doc" from Samples folder? Does it give the same issue? If yes then it could be a defect


Your answer


Register or 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.