It's all about the answers!

Ask a question

Reusable test preparation description for different test cases or test scripts


Markus Farnung (14515) | asked Jan 22 '15, 10:00 a.m.
Normally the execution of a test case can be split in test preparation and test execution. In many cases the test preparation is equal for several test cases.
How can I define a test preparation which can be used for several test cases?
In the eclipse test automation tool Xored Q7 it is possible to define a so called context item which can be referenced in different tests. Also it is possible to use several context items which describe the complete test preparation of a test.

Accepted answer


permanent link
Don Yang (7.2k2194127) | answered Jan 22 '15, 11:41 p.m.
There is a concept in Test Script Keyword(http://www-01.ibm.com/support/knowledgecenter/SSYMRC_5.0.0/com.ibm.rational.test.qm.doc/topics/c_keyword_view.html?lang=en) which could be close to what you want for test scripts. There is no such concept or feature in test case though.
I am thinking you may use TestPlan a location to put those common test preparation related info(such as test objectives, quality objectives, criteria etc) and add those test cases to test plan's test case sections. Although there is no reference in test cases in this case, the hierarchy of testplan and testcase may serve your use case.
Markus Farnung selected this answer as the correct answer

Your answer


Register or to post your answer.