copied test cases
-
Mittwoch, 29. Februar 2012 17:28
Hi ,
Here is scenerio. For sprint 1 , created 101 test case.
For sprint 2 , copied test case 101
For sprint 3, cpoied test case 101 and modified. When i am modified 101 in sprint 3 its also modifying in sprint 1 1nd 2 . How to stop this? i dont want to modify in sprint 1 and 2..
thanks
Alle Antworten
-
Donnerstag, 1. März 2012 04:12
Hi Frectech,
When you copy-paste a test case from one test-suite to another, the test manager adds the same test case to the suite. It doesn't really create copy of that test case. If it would do so, then new work item id should be generated but the test case has same work item id.
In order to keep the original copies of the test cases and add new copies to the new suites, follow steps mentioned below:
- Create copy of the test cases which you want to add to new suite. (Go to Organize -> Test Case Manager -> Edit Query to get list of test cases -> select test cases -> Right Click -> Create Copy. This will generate copy of the selected test cases with new work item ids. See How to: Create a Copy of a Manual Test Case. (Alternatively, you can use TFS Tester Power Tool - Bulk Copy Test Cases for Microsoft Test Manager)
- Create new suite (say Sprint 2/3)
- Add the test cases created in step 1 to this sprint (Test cases added to sprint 1 remains unchanged when new tests are modified)
-Tejas.
- Als Antwort vorgeschlagen TejasJ Donnerstag, 22. März 2012 08:15
-
Donnerstag, 1. März 2012 06:10
In VS 11, you will get the deep copy option to copy tests from one suite to another so that one testcase is not affected by another. See http://social.msdn.microsoft.com/Forums/en-US/vsmantest/thread/e955798b-0a99-4cb7-b870-ad21364b3ddb/
Thanks,
Anuj
http://www.anujchaudhary.com
- Als Antwort vorgeschlagen niveditabawa_MSFTMicrosoft Employee, Moderator Dienstag, 6. März 2012 15:32
- Nicht als Antwort vorgeschlagen niveditabawa_MSFTMicrosoft Employee, Moderator Dienstag, 6. März 2012 15:33
-
Freitag, 2. März 2012 02:27Moderator
Hi Frectech,
Thank you for your poat.
TejasJ and Anuj both have provided useful information in their replies, you can refer to them.
If anything is unclear, please free feel to let me know.
Best Regards,
Lily Wu [MSFT]
MSDN Community Support | Feedback to us
-
Dienstag, 6. März 2012 09:26Moderator
Hi Frectech,
How about the issue now?
If anything is unclear, please free feel to let me know.
Best Regards,
Lily Wu [MSFT]
MSDN Community Support | Feedback to us
-
Dienstag, 6. März 2012 15:36Besitzer
See http://msdn.microsoft.com/en-us/library/hh543843(v=vs.110).aspx
This lets you clone suites across plans.
- Als Antwort vorgeschlagen niveditabawa_MSFTMicrosoft Employee, Moderator Dienstag, 6. März 2012 15:36
- Als Antwort markiert Forrest GuoMicrosoft Employee, Moderator Sonntag, 11. März 2012 06:26
-
Mittwoch, 7. März 2012 00:26But still above solution does not fulfills my needs: I want to copy test cases from one test plan to other without effecting test cases from original test plan if i edit the test case. I want to edit test case only for test plan 2 not for test plan 1.
-
Mittwoch, 7. März 2012 16:41Moderator
Hi,
Thank you clarify your goal in detail. Testcase meta data is stored in TFS database and each test case has unique ID. While I test, I'm able to copy and paste a test case over to another test suite in same test plan, but I'm not able to copy and paste across test plans. Could you please elaborate further with reproduce steps to your issue?
Copy just between suites make reference to a test case.
"Create a copy of selected test case and add to this suite" will create new test case based on existing test case.
Forrest Guo | MSDN Community Support | Feedback to us
-
Donnerstag, 8. März 2012 02:41BesitzerIt does fulfill your exact need only. It does NOT affect the original test plan at all. please read the details in the link I provided
-
Donnerstag, 8. März 2012 19:17is this available in MTM10?
-
Donnerstag, 8. März 2012 19:58Besitzer
No it is available in VS11 Beta.- Als Antwort markiert Forrest GuoMicrosoft Employee, Moderator Sonntag, 11. März 2012 06:26

