Association of multiple testscripts to a single testcase
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
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
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!
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.