Can the Pre-Conditions be defined for Test Scripts rather than for a Test Cases.
While running a Test Script, a pane for Pre-Conditions appear. but this Pre-Condition is that of the Test Case. In our testing process we have pre-conditions for each Test Scripts. I would like to know if there is any way that I can give the precondition for each Test scripts, and this needs to be shown while running the Script.
|
One answer
Unfortunately, preconditions are not support for test scripts. I would suggest create a one-to-one mapping between your test scripts and test cases to use the test case precondition during execution.
Comments
vishal james
commented Nov 28 '13, 7:00 a.m.
Thanks Paul for your answer, I am not sure if a one on one mapping can be done, as in my Project one Test Case contains many test scripts and these Test scripts needs to have different precondition.I have added an attribute called pre-condition for the Test Scripts. I would also like to know if that predefined 'pre-condition' pane can be removed in the Test Script Run page, because it shows Pre-condition as empty even though I have introduced an attribute.
No, you cannot remove the Pre-conditions section in the test execution editor. Consider adding a sentence referring to your pre-conditions test script custom attribute.
|
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.