It's all about the answers!

Ask a question

Association of multiple testscripts to a single testcase


Steve Waugh (1111) | asked Sep 09 '10, 3:05 a.m.
Hi

Could anyone tell me how to associate multiple testscripts to a single testcase when using excel import utility?

I understand that we can use the following line in the CFG file:
testcase.dc:title=testscript.dc:title.

But this will create the association when both the test case and test script share the same name.

I have a test case (TC1) and want to associate 3 test scripts (TS1, TS2, TS3) to test case (TC1).

When using testcase.dc:title=testscript.dc:title, it does not create any association as the title of the test case and test script are different.

Best Regards

4 answers



permanent link
Steve Waugh (1111) | answered Sep 13 '10, 5:22 a.m.
Any thoughts/suggestions??

permanent link
manoj samuel (2611) | answered Sep 20 '10, 3:41 a.m.
Any thoughts/suggestions??


The question is are you using the sample config files provided by IBM. I have managed to change the config file to associate multiple scripts to a single test case.
The rule used/suggested by IBM is - leave a row space between each script and the system will identify it as a new script..
A peep into my config file -
// this configuration file creates testscripts with testcases using self referential
// and column based data with categories

// Start looking for scripts after row 7
testscript.XLSStartRow=8

//a new script starts when we encounter an empty row
testscript.XLSDelimeter=\n
testscript.dc:title=A
//set testscript state to "Approved"
testscript.alm:state ="com.ibm.rqm.planning.common.approved"
testscript.dc:description=B

//step type is defined within the spreadsheet
testscript.steps.type="execution"
testscript.steps.title=C
testscript.steps.name=C
testscript.steps.description=C
testscript.steps.expectedResult=D
testscript.steps.property name="comment"=F

//test case defined with definite cell locations
testcase.dc:title=C2
//set testcase state to "Approved"
testcase.alm:state="com.ibm.rqm.planning.common.approved"
testcase.dc:description=A5

testcase.XLSLink=testscript

--- hope this helps!

permanent link
Steve Waugh (1111) | answered Oct 28 '10, 4:23 a.m.
Thank you Manoj

permanent link
Pierre Gallow (6) | answered Dec 07 '10, 7:37 a.m.
Any thoughts/suggestions??


The question is are you using the sample config files provided by IBM. I have managed to change the config file to associate multiple scripts to a single test case.
The rule used/suggested by IBM is - leave a row space between each script and the system will identify it as a new script..
A peep into my config file -
// this configuration file creates testscripts with testcases using self referential
// and column based data with categories

// Start looking for scripts after row 7
testscript.XLSStartRow=8

//a new script starts when we encounter an empty row
testscript.XLSDelimeter=\n
testscript.dc:title=A
//set testscript state to "Approved"
testscript.alm:state ="com.ibm.rqm.planning.common.approved"
testscript.dc:description=B

//step type is defined within the spreadsheet
testscript.steps.type="execution"
testscript.steps.title=C
testscript.steps.name=C
testscript.steps.description=C
testscript.steps.expectedResult=D
testscript.steps.property name="comment"=F

//test case defined with definite cell locations
testcase.dc:title=C2
//set testcase state to "Approved"
testcase.alm:state="com.ibm.rqm.planning.common.approved"
testcase.dc:description=A5

testcase.XLSLink=testscript

--- hope this helps!

This is very helpful to me.Thank You.

Your answer


Register or to post your answer.