It's all about the answers!

Ask a question

RQMExcelWordImporter Failing to Link Test Scripts to Cases


Mike Dawson (161) | asked Jun 03 '10, 6:53 a.m.
Hi,

I'm getting an issue whereby the Importer plugin doesn't automatically link test scripts to test cases during the Export/ Import process. Even though both the test case and the test script are imported successfully, the user has to find and manually link the script to the case, which is a time consuming process if there are many test cases to import.

The odd thing is that this issue seems to be intermittent, and for the life of me I can't figure out what the circumstances are in which it happens. Sometimes the link occurs automatically, and sometimes it doesn't, but I can't find any pattern to it.

Has anybody else come across this issue, and can anyone suggest a resolution?

Many thanks!

The content of my configuration file is as follows:

****************************************************
//Test Script
testscript.XLSStartRow=10
testscript.dc:title=A1
testscript.scripttype="Manual"
testscript.steps.type="execution"
testscript.steps.description=A
testscript.steps.expectedResult=B
testscript.XLSDelimeter=\n
testscript.dc:description=A2
testscript.alm:state="Approved"

//Test Case
testcase.dc:title=A1
testcase.dc:description=A2
testcase.alm:state="Approved"

// Categories
testcase.category term="Release".value=A4
testcase.category term="Test Stage".value=A5
testcase.category term="Test Type".value=A6
testcase.category term="Test Area".value=A7
testcase.category term="Priority".value=A8

testcase.XLSLink=testscript

testcase.weight = A3

//Preconditions
testcase.Section("myns:com.ibm.rqm.planning.editor.section.testCasePreCondition","RQM-KEY-TC-PRE-COND-TITLE")=A9
******************************************************

6 answers



permanent link
Mike Dawson (161) | answered Jun 09 '10, 10:15 a.m.
Bumping this to ask the question a different way - are other users finding that the linking of test cases and scripts during import works flawlessly every time? :?

permanent link
David Moss (171156) | answered Jun 09 '10, 10:28 a.m.
Bumping this to ask the question a different way - are other users finding that the linking of test cases and scripts during import works flawlessly every time? :?


To answer your question--not flawlessly at first, but eventually it worked.

As we were getting RQM up and running we were having issues with the RMT2RQM import utility keeping those links (we were coming from CQ/RMT). Though not the same utility you are using, the problems were making sure the importer was synched properly with the installed version of RQM...all the way down to iFixes and build numbers. We had to go through a number of iterations with Rational support before we got a build which worked properly with our installed RQM. At that time, those eventually turned into what was released with RQM 2.0.0.1 iFix3. All I can say is make sure you've got the latest versions of the plugins, and then get specific with those version numbers when asking for help.

permanent link
Marina Derechinskaya (1633) | answered Jul 08 '10, 12:27 p.m.
Have you tried commenting out the "state." I have a similar config file but when I enter the state for the test script I get import errors.

Hi,

I'm getting an issue whereby the Importer plugin doesn't automatically link test scripts to test cases during the Export/ Import process. Even though both the test case and the test script are imported successfully, the user has to find and manually link the script to the case, which is a time consuming process if there are many test cases to import.

The odd thing is that this issue seems to be intermittent, and for the life of me I can't figure out what the circumstances are in which it happens. Sometimes the link occurs automatically, and sometimes it doesn't, but I can't find any pattern to it.

Has anybody else come across this issue, and can anyone suggest a resolution?

Many thanks!

The content of my configuration file is as follows:

****************************************************
//Test Script
testscript.XLSStartRow=10
testscript.dc:title=A1
testscript.scripttype="Manual"
testscript.steps.type="execution"
testscript.steps.description=A
testscript.steps.expectedResult=B
testscript.XLSDelimeter=\n
testscript.dc:description=A2
testscript.alm:state="Approved"

//Test Case
testcase.dc:title=A1
testcase.dc:description=A2
testcase.alm:state="Approved"

// Categories
testcase.category term="Release".value=A4
testcase.category term="Test Stage".value=A5
testcase.category term="Test Type".value=A6
testcase.category term="Test Area".value=A7
testcase.category term="Priority".value=A8

testcase.XLSLink=testscript

testcase.weight = A3

//Preconditions
testcase.Section("myns:com.ibm.rqm.planning.editor.section.testCasePreCondition","RQM-KEY-TC-PRE-COND-TITLE")=A9
******************************************************

permanent link
Michael Amirault (46) | answered Jul 15 '10, 2:06 p.m.
Hi, when you export to file rather than to RQM and view the xml produced in one of the testcases do you see lines that say <testscript>? If so than it is creating links, just incorrect links. If not then it is indeed not creating the links which is what "testcase.XLSLink=testscript" is expected to do.

Hi,

I'm getting an issue whereby the Importer plugin doesn't automatically link test scripts to test cases during the Export/ Import process. Even though both the test case and the test script are imported successfully, the user has to find and manually link the script to the case, which is a time consuming process if there are many test cases to import.

The odd thing is that this issue seems to be intermittent, and for the life of me I can't figure out what the circumstances are in which it happens. Sometimes the link occurs automatically, and sometimes it doesn't, but I can't find any pattern to it.

Has anybody else come across this issue, and can anyone suggest a resolution?

Many thanks!

The content of my configuration file is as follows:

****************************************************
//Test Script
testscript.XLSStartRow=10
testscript.dc:title=A1
testscript.scripttype="Manual"
testscript.steps.type="execution"
testscript.steps.description=A
testscript.steps.expectedResult=B
testscript.XLSDelimeter=\n
testscript.dc:description=A2
testscript.alm:state="Approved"

//Test Case
testcase.dc:title=A1
testcase.dc:description=A2
testcase.alm:state="Approved"

// Categories
testcase.category term="Release".value=A4
testcase.category term="Test Stage".value=A5
testcase.category term="Test Type".value=A6
testcase.category term="Test Area".value=A7
testcase.category term="Priority".value=A8

testcase.XLSLink=testscript

testcase.weight = A3

//Preconditions
testcase.Section("myns:com.ibm.rqm.planning.editor.section.testCasePreCondition","RQM-KEY-TC-PRE-COND-TITLE")=A9
******************************************************

permanent link
vladimir giron (1111) | answered Feb 28 '11, 7:53 p.m.
Hi, I am having the same problem.

I "exported to file" to see if the links were being created but wrong and they are not created at all. The Test Case does link to the Test Plan but the Test Script doesn't link to the Test Case.

Please find below my cfg file. I've been looking around in the forums but I haven't found what I'm doing wrong. If you could help me see my mistake, I'd appreciate it.

Thanks!

//--- Test Script---
testscript.XLSStartRow=5

testscript.dc:title=D
testscript.dc:description=E

testscript.steps.type="execution"
testscript.steps.title=H
testscript.steps.description=I
testscript.steps.expectedResult=J

testscript.XLSDelimeter=\n


//--- Test Case---
testcase.dc:title=B5
testcase.alm:state="com.ibm.rqm.planning.common.underreview"
testcase.dc:description=B5

testcase.XLSLink=testscript


//--- Test Plan---
testplan.dc:title=C1
testplan.dc:description=C1

testplan.XLSLink=testcase

permanent link
vladimir giron (1111) | answered Mar 01 '11, 12:04 p.m.
Hi, I am having the same problem.

I "exported to file" to see if the links were being created but wrong and they are not created at all. The Test Case does link to the Test Plan but the Test Script doesn't link to the Test Case.

Please find below my cfg file. I've been looking around in the forums but I haven't found what I'm doing wrong. If you could help me see my mistake, I'd appreciate it.

Thanks!

//--- Test Script---
testscript.XLSStartRow=5

testscript.dc:title=D
testscript.dc:description=E

testscript.steps.type="execution"
testscript.steps.title=H
testscript.steps.description=I
testscript.steps.expectedResult=J

testscript.XLSDelimeter=\n


//--- Test Case---
testcase.dc:title=B5
testcase.alm:state="com.ibm.rqm.planning.common.underreview"
testcase.dc:description=B5

testcase.XLSLink=testscript


//--- Test Plan---
testplan.dc:title=C1
testplan.dc:description=C1

testplan.XLSLink=testcase


I don't know if it was an error but I found a solution. I moved the testcase.XLSLink=testscript after the Delimeter part for Scripts.

******************************************************
...
testscript.XLSDelimeter=\n
testcase.XLSLink=testscript

//--- Test Case---
testcase.dc:title=B5
testcase.alm:state="com.ibm.rqm.planning.common.underreview"
testcase.dc:description=B5

//testcase.XLSLink=testscript ORIGINALLY HERE
...

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.