Testplan with testcase and testscript
. I wanted to import a testplan which links to a number of testcase and these testcases links to testscripts.The link between testcase and testcript has come properly But When i add the following cfg code to link testcases with testplans
testplan.dc:title=property("title")
testplan.XLSLink=testcase
the new testplan is creating but the testcases are not included in this testplan.
When i used the same code to link testplan and testcase without giving any link between testscripts and testcases and without ant testscripts,it was showing all the testcases in testplan...
testplan.dc:title=property("title")
testplan.XLSLink=testcase
the new testplan is creating but the testcases are not included in this testplan.
When i used the same code to link testplan and testcase without giving any link between testscripts and testcases and without ant testscripts,it was showing all the testcases in testplan...
.
3 answers
Hello Archana, I think what's incorrect is that you are using .XLSLink for both TP > TC and TC > TS link which should not be the case.
I would suggest you to refer to the "Testsuite with testcases that have testscripts" sample which is quite similar to your scenario (if you use Test Plan name in place of Test Suite)? Here the difference is that :
for TS link to TC, artifact ID is used as means
Then TP to TC, the XLSLink is used.
Best Regards, Sunil
Sunil Kumar R : The cfg code i used is below
testscript.XLSStartRow=4
testscript.XLSArtifactID=B
testscript.dc:title=E
testscript.steps.type="execution"
testscript.steps.description=H
testscript.steps.title=G
testscript.steps.name=G
testscript.steps.property name="comment"=Q
testscript.XLSDelimeter=\n
testcase.ID=testscript.XLSArtifactID
testcase.dc:title=D
testcase.dc:description=testscript.dc:title
testcase.jzalm:owner=N
testplan.dc:title=property(title)
testplan.XLSLink=testcase
executionworkitem.XLSLink=testcase
executionworkitem.dc:title=testscript.dc:title
executionresult.dc:title=testscript.dc:title
executionresult.XLSLink=executionworkitem
testscript.XLSStartRow=4
testscript.XLSArtifactID=B
testscript.dc:title=E
testscript.steps.type="execution"
testscript.steps.description=H
testscript.steps.title=G
testscript.steps.name=G
testscript.steps.property name="comment"=Q
testscript.XLSDelimeter=\n
testcase.ID=testscript.XLSArtifactID
testcase.dc:title=D
testcase.dc:description=testscript.dc:title
testcase.jzalm:owner=N
testplan.dc:title=property(title)
testplan.XLSLink=testcase
executionworkitem.XLSLink=testcase
executionworkitem.dc:title=testscript.dc:title
executionresult.dc:title=testscript.dc:title
executionresult.XLSLink=executionworkitem