Share via


Bulk Copy Test Cases Tool for Microsoft Test Manager & TFS

A while ago I had written a blog post Microsoft Test Manager Test Case Versioning on how to manage Test Cases over multiple releases which required you to manually copy test cases individually.

 

Now there is a tool to help with the bulk copying of Test Cases and updates the Iteration field at the same time.  In the example below I am copying my Test Cases from Iteration 1 to Iteration 2.

 

Click here to download the tool Bulk Copy Test Cases Tool

 

  1. Click on Connect to TFS Team Project
  2. Select Project Collection and Team Project
  3. Find Query (e.g. "Test Cases Iteration 1")
  4. Double-click to Run Query 
  5. The Query Results will display on the right
  6. http://2.bp.blogspot.com/-hTJjhkjOIR4/TrXixQ_HKAI/AAAAAAAAAK4/t1gqvX77VGs/s400/Anna+Russo+Bulk+Copy+Test+Cases+Tool+2a.jpg
  7. Select Target Iteration for the release you would like to copy the test case to (e.g. "Iteration 2)
  8. http://1.bp.blogspot.com/-AtcqLDdT8qs/TrXizqdDuQI/AAAAAAAAALA/CBOk7J03vWM/s400/Anna+Russo+Bulk+Copy+Test+Cases+Tool+3a.jpg
  9. Click Copy Test Cases
  10. You will then receive a confirmation "Completed Copying Test Cases"
  11. http://1.bp.blogspot.com/-6cb0o6CYMEM/TrXi17ttnFI/AAAAAAAAALI/ATMDHSV03OQ/s400/Anna+Russo+Bulk+Copy+Test+Cases+Tool+4a.jpg
  12. Now I have copied all the Test Cases I need for Iteration 2
  13. When you create a query for Test Cases Iteration 2 you will see
    • A newly generated Work Item ID 
    • The Iteration Path has been updated to Target Iteration
  14. http://3.bp.blogspot.com/-EBB-sgl1CsE/TrXp9UrDI7I/AAAAAAAAALQ/wg8AJ1MVO88/s320/Anna+Russo+Bulk+Copy+Test+Cases+Tool+5.jpg

 

Many thanks to Shai for his help.

 

Anna Russo

Application Lifecycle Management Consultant | LinkedIn