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

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

0 votes



4 answers

Permanent link
Any thoughts/suggestions??

0 votes


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

0 votes


Permanent link
Thank you Manoj

0 votes


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

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

Question asked: Sep 09 '10, 3:05 a.m.

Question was seen: 5,123 times

Last updated: Sep 09 '10, 3:05 a.m.

Confirmation Cancel Confirm