Test Case Migrator Between Projects – WPF Metro

20/03/2011

Test Case Migrator Between Projects – WPF Metro

This is a common question I keep hearing from customers:

Question: How can we copy Test Cases \ Shared Steps from one Team Project to another?

Answer:  You can manually duplicate item after item in visual studio but this isn’t a good solution if you have lots of Test Cases to copy.

So, to solve this problem I built a tiny little tool to help you accomplish this task.

This tool contains 4 steps:

Getting Started:

1. Connection

Connect to TFS, pick Source and Target Team Project.

Define a configuration file (all the data will be saved there).

image

2. Fields

Here you will see if there any missing fields , areas and iterations between the Source and Target Team Project.

I didn’t make any special feature to create those, so you will have to complete the missing fields,area and iterations before continue.

Step2

4. Query

Using TFS Queries, just pick the Test Cases you want to migrate.

Step3

4. Start

I think you understand this part…… 🙂

Step4

4.1 – See Migration Results

Step4.1

4.2 – The tool will not recreate existing Test Cases (Already migrate using this tool – everything is saved in the configuratiionFile.)

Step4.2

And the Result:

Result

if you want to try this tool please contact me directly.

Thanks

Add comment
facebook linkedin twitter email

Leave a Reply

90 comments

  1. nitro5222/03/2011 ב 01:42

    Will this copy Action Recordings?

  2. Bob25/03/2011 ב 01:33

    Hey Shair,
    Looks like i would like to try this tool. Would you please tell me how can you share this?

    Thanks for such tool

    /Bob

  3. Bob25/03/2011 ב 01:46

    Shair,

    Here is my email id: bobhere4u@gmail.com. Would you please share the tool. I would like to try this out

    /Bob

  4. Allen Feinberg25/03/2011 ב 19:29

    I’d love to get a chance to play with this tool. Any chance you can make parts of the source available?

  5. muralidharan 30/03/2011 ב 07:44

    Hi,

    I like to have this tool with source code., which helps me to extend this tool to support all other workitems in the projects.
    We did some customization on Product Backlog Item, Bug and Test case based on our project need.

    -Muralidharan

  6. Ean Brewty30/03/2011 ב 23:03

    Hi,
    I would like to test this tool. I have a number of projects on QC 9.2 which need to be copied across two projects which are built off different templates. My email address is ebrewty@hotmail.com

  7. patrice willemot31/03/2011 ב 12:48

    Hello,

    I would also like to have the source code of this project. Is it possible to provide this?

    Kind regards,

  8. shair31/03/2011 ב 14:57

    Hi,

    The source code will not be aviable right now, I need to finish my testing and after it I’ll publish the code.
    Sorry.

  9. Glenn Sorensen05/04/2011 ב 17:03

    Hi,
    I would like to use this tool to migrate test cases between TFS servers each with a different process template. The Test Case work items are the same. Please let me know what I need to do to get access to this tool.

  10. John06/04/2011 ב 20:42

    I would like to use this tool to copy Test Suites within a single Team Project. Is it possible to do this? I need to copy test cases from one version of the product to another (within the same Team Project) and then in mass change it’s Iteration (or a custom field) to a new value for each Test Case. Can this tool do this?

  11. shair07/04/2011 ב 12:21

    Hi John,

    Yes, you can use it to duplicate the Test Cases.

    Thanks

  12. John07/04/2011 ב 17:20

    Can I get the binary files for this tool? Also, I have a custom field added to my test cases call Version. I would really like to be able to change the Version field for each test case copied. Can this also be done.

  13. Scott20/04/2011 ב 19:08

    Shai,

    I would love to get my hands on this app. can you send it to me?

    ssecor@virtualpremise.com

  14. Danny Crone04/05/2011 ב 14:27

    Hi Shai,

    This looks like great work, could I get hold of a copy to try this out?

    TIA
    Danny
    dan_crone@nfocus.co.uk

  15. Danny Crone05/05/2011 ב 13:12

    Shai,
    Not sure if you got my last comment but I would love to get a copy of this tool?
    Danny
    dan_crone@nfocus.co.uk

  16. James Maenner20/05/2011 ב 15:36

    Shair,
    Can this tool be used when the projects are on different team foundation servers. My example is that I have a vendor creating and automating tests on his company’s tfs and then we want to transfer them to my company’s tfs. If so, please advise how to get the tool. If not, can you advise of another alternative to make this transfer a reality.
    Thank you,
    Jim

  17. Peter Lindholm22/05/2011 ב 13:08

    Hi.

    I’d also very much like to try out your tool.

    Thanks.

    Peter Lindholm
    peter@peterlindholm.com

  18. Minh Nguyen27/05/2011 ב 09:57

    Dear,

    Could you please send me a copy? I’m trying to move some test cases to another Team project but I Failed with TFS Integration Tool 🙁

    Thanks in advanced

  19. firefighter27/05/2011 ב 18:54

    Shai,
    I would love to get my hands on this app. can you send it to me? my Emai is firefighters@163.com
    Thanks a lot.

  20. Waleed02/06/2011 ב 17:21

    I want to have a copy of that tool. my mail: w_hashem@hotmail.com

  21. Kathleen09/06/2011 ב 01:38

    I would also like a copy of this tool please – katmarz@gmail.com

  22. Kathleen09/06/2011 ב 01:39

    I would also like a copy of this tool please! katmarz@gmail.com

  23. Nicolae10/06/2011 ב 17:26

    Hello,
    is it still available ?

    can I have a copy ?
    nicuOnWindowsLive@live.com

    Does it duplicate the test cases for automated tests within the same team project but between different test plans ?

    Thank you

  24. Michele10/06/2011 ב 23:13

    I would like to try out this tool to copy test cases. My email address is mgh@datatel.com. Thank you.

  25. Todd14/06/2011 ב 16:21

    We asked for a copy of this and got a mail with an attachment with the name, “UI.zip.remove”. Is that the file that we were supposed to receive? Please forgive our caution, but the email address that was supplied is out there for anyone to see.

  26. Eli16/06/2011 ב 15:52

    hi shai,
    the tool looks good and i have to say it solves a real problem i have.
    could you please send it to me?
    thanks
    Eli.
    elim@pointer.com

  27. Mark Batcheler16/06/2011 ב 19:01

    Hi Shai

    This tool appears to cover the problems we have been having copying test cases and is therefore very useful to me.

    Could you please send me a copy?

    My address is mbatcheler@hotmail.com

    Thanks

  28. Venkat15/07/2011 ב 02:59

    Hi,

    This is pretty impressive tool. Could you please send me a copy at prasad_vitakula@yahoo.co.in

  29. Rashmi Nagaraja27/07/2011 ב 16:11

    Very neat tool and definitely will very helpful in our team where we migrating from a temporary test team project to a permanent enterprise team project. please send a me copy of this tool at rush4umesh@gmail.com

  30. Ashish Jain01/08/2011 ב 17:43

    This is what I am looking for. Can you please send me the link for this @imashishjain@gmail.com

    Thanks in advance.

  31. Matthew12/08/2011 ב 00:27

    Please send me this tool at mtan@envirosys.com

    Thanks,
    Matt

  32. Matthew12/08/2011 ב 00:32

    Can you please send me a copy of the TestCase copy tool to mtan@envirosys.com

    Thanks

  33. Mike Young16/08/2011 ב 21:26

    Dear Shai,

    Could you please send me a copy or a link for the test case migration tool.

    yoyowiggle@gmail.com

    Thank you.

    -Mike Young

  34. Alain17/08/2011 ב 11:29

    Hi,

    This tools seems to be great, can you send me a copy please?

    Regards

    Alain

  35. Divya S18/08/2011 ב 03:57

    Hi Shai

    I am impressed. Could you please send me a copy of this tool at divyaneeraj@gmail.com

    Thanks,
    Divya

  36. Alain18/08/2011 ב 09:22

    Hi Shai,

    Could you please send me a copy of this tool at asz0201@hotmail.com?

    Thanks in advance,

    Alain

  37. Divya S18/08/2011 ב 19:40

    Can you please send me this tool at divyaneeraj@gmail.com

  38. Divya S19/08/2011 ב 04:55

    Can you please send me this tool @ divyaneeraj@gmail.com

  39. Monalisa Patro22/08/2011 ב 14:02

    Kindly send me the tool. It is urgently required by our team. Please send it to :patromonalisa@praintl.com or sassupport@kinshiptech.com

  40. Chris C24/08/2011 ב 00:22

    Can you please send me this tool ASAP?

    Chris.Collins@usairways.com

    Thanks a ton!

  41. Mark Batcheler24/08/2011 ב 12:39

    Hi Shai

    This tool appears to cover the problems we have been having copying test cases and is therefore very useful to me.

    Could you please send me a copy?

    Apologies if you sent it after my previous post, however, I think I may have missed it if you did.

    My address is mbatcheler@hotmail.com

    Thanks

  42. Dean30/08/2011 ב 14:26

    Hi Shai,

    Thsi will help me a WHOLE lot. Can you send me the tool at velociti.gp@gmail.com

    Thanks in advance

  43. Sofie08/09/2011 ב 06:35

    We would like to try this tool please. Email: sofiya.gekhel@groupm.com

  44. Venkat C09/09/2011 ב 22:23

    Hi Shai,

    Can you please send me this tool @ venkat_chl@hotmail.com.

    Thanks,
    Venkat

  45. Mario12/09/2011 ב 18:38

    I need to migrate Test Plan from one server to another and your tool could help?
    My email is marioannunziato.servino@valueteam.com .

    Thanks in advance…

  46. Andy Pham15/09/2011 ב 23:15

    May you send this tool to 4andypham@gmail.com for try out? Thanks.

    Andy Pham

  47. Alexandra19/09/2011 ב 14:20

    Could you please send me this tool to alexandra_medv@hotmail.com

    Thanks in advance!

  48. Allen Feinberg 21/09/2011 ב 15:56

    Can you please send me a copy of the tool to Allen.Feinberg@hotmail.com

  49. Diwakar Goel23/09/2011 ב 19:38

    Pl share the tool: dewakar.goel@gmail.com

    Many thanks
    Diwakar Goel

  50. Erika04/10/2011 ב 14:57

    I am in real need of a tool like this. Doing several migrations. Can I please have this tool.
    email address: erikarvai@yahoo.co.uk

    Many thanks,

    Erika

  51. Harold Noell04/10/2011 ב 17:28

    This looks like a great tool I could use to migrate test cases created in a separate test solution into each project. Would you please send the tool to me @ hoell@aol.com? Thank you!

  52. Jeremy06/10/2011 ב 16:28

    Shair,

    I would love to give this tool a try. Have alot of testcases to move from one project to another due to some changes in our TFS system. Please send to Siphon9@sbcglobal.net

  53. Harold Noell13/10/2011 ב 23:47

    I re-read my email and find my email was entered incorrectly – Please forgive my typing 🙂 and would you send the tool to me?

    hnoell@aol.com (vice hoell@aol.com)

    Thank you!

  54. Hongyu14/10/2011 ב 07:59

    Hi,
    That is exactly what I need right now. Could you please send me a copy to hongyu.ju@gmail.com. Thank you very much.

  55. Joshua20/10/2011 ב 00:59

    Greetings,

    I would also love to have this tool avalible, as I’m going to have to move 2 projects worth of tests in the near future. If you would send it to me at joshua.gaines@hotmail.com I would greatly appreciate it.

    Thanks!
    Joshua

  56. Kiran Kumar03/11/2011 ב 10:37

    Hi,

    This is the right tool iam looking for, to migrate the testcases from one project to another. could you please send it to kiran_20k@yahoo.com

    Thanks!
    Kiran.

  57. Andy Ye09/11/2011 ב 20:01

    Hi Shai,

    I am having problem copying test plans from previous team project to a new team project. This is the right tool iam looking for. Could you please send me a copy of this tool to andyy@microen.com ?

    Thanks,
    Andy

  58. Andy Ye11/11/2011 ב 07:45

    Hi,

    This is the right tool iam looking for, to migrate the testcases from one project to another. could you please send it to andyy@microen.com

    Thanks!

    Andy

  59. Jos Verlinde11/11/2011 ב 22:19

    Hi Shai,

    I would appreciate a copy of your tool.

    TIA, Jos

  60. Mark Carlos14/11/2011 ב 09:54

    Can you send me the tool? This would greatly help us in our test case migration

    please send it to markscarlos@yahoo.com.ph,
    mark.s.carlos@accenture.com

  61. Rohit14/11/2011 ב 16:46

    My email is rohitchauhan@gmx.com and I’d like to try this tool. It would be really great if you could send me this tool. Thanks!

  62. Melissa Otero21/11/2011 ב 21:22

    Hello Shai,

    If it´s possible, I would like to have a copy of your migrator tool. I´ve tried codeplax´s tool but it didn´t work that well.
    So, could you send me a copy? My email is mel_otero@hotmail.com.

    Thank you very much.

    Greentings from Brazil.

  63. Jonathan Gabieta25/11/2011 ב 04:21

    Hi,

    Will it be ok if you would send me your test case migrator. You could send it at jonathanmgabieta@yahoo.com

  64. Gerardo30/12/2011 ב 12:49

    Hi Shai,

    I want to try this tool, can you send me a copy?
    My email is gergastaldo@gmail.com.
    Thank you so much.

  65. Roopa25/01/2012 ב 14:34

    Hi,
    Can u plz share this tool. I would like to use this. My mail id is roopa16kv@gmail.com

  66. anand nethala25/01/2012 ב 15:07

    Hi,

    It looks great. Can you please send test case migrator to anandjnf@gmail.com. thanks in advance

  67. Ian25/01/2012 ב 23:40

    Hi Shai,

    I have reviewed this tool and think it would be of great assistance in our environment for migrating TCs across projects with different templates.

    My email is ianjolin@verizon.net

  68. Gil26/01/2012 ב 11:46

    Hi Shai ,

    Can you send me the tool to gil.shik@yahoo.com ,

    Thanks.

  69. Bob Hardister26/01/2012 ב 16:11

    Hi Shai,

    We could really use this tool to help us move from one team project to another. Please send it to me.

    My email is: bhardister@overwatch.textron.com

  70. ks07/02/2012 ב 14:36

    Could you please send me copy of this tool. Would love to try this tool

    skumarme2001@gmail.com

  71. Jack Hawkins08/02/2012 ב 21:04

    Awesome tool, can you please send me a copy to:
    jack.hawkins@mitchell.com

    Best regards

  72. eyal luxenburg09/02/2012 ב 11:10

    Hi,
    Can the tool able migrate test cases from a project in one server to another?

    It will really help me if you send me the source as well. eluxenburg@gmail.com

    Thanks.

  73. Christian Jensen10/02/2012 ב 11:52

    Exactly what I was looking for! I would very much like to try it out. Please send it to: christian.jensen@dako.com

  74. Dan10/02/2012 ב 17:13

    Please send me your wonderful tool.
    Thanks!
    dan.sovrea@qubiz.ro

  75. Shilpa15/02/2012 ב 06:56

    Hi Shai, Can you please send me the toll at shilpa.bhagwat@gmail.com

    Thanks,
    S

  76. Tim Mellor16/02/2012 ב 20:36

    Will this eventually support the migration of test plans and test suites as well as test cases?

  77. Harold Noell21/02/2012 ב 23:54

    Your tool looks great and would save me a lot of time, however, I am looking to move from one TFS server to another – it seems your tool will copy within the same container?
    We spawned a sandbox to test upgrading Agile to 5 and various other fun new things and got a lot farther than anticipated. I’d like to be able to save/copy the work done in MTM (including recorded steps if possible).
    I believe I can move the Build XAML and Tests built in Visual Studio since all I really need is the source.
    I’ve not run across anything as comprehensive as your tool.

  78. Darin14/03/2012 ב 16:39

    Looks like exactly what I need. Can you send me a copy to dmoon@cmsglobalsoft.com

    Thanks.

  79. Hatims06/04/2012 ב 09:15

    Can you send me a copy to hatims@Microsoft.com

    Thanks.

  80. Darren06/04/2012 ב 17:50

    can you please send me this tool? thanks darrenparkerwa@hotmail.com

  81. Rajendra Patki12/04/2012 ב 11:56

    Can you please send me this tool
    patki.rajan@gmail.com

    Regards,
    Rajendra

  82. Matthew Quayle04/05/2012 ב 11:11

    Please can you send a copy of the tool to matthew.quayle@e-mis.com

    Regards,

    Matt

  83. andy03/01/2014 ב 20:54

    Seems like it is one of the good options to migrate the test cases, I would like to give a try once, can you please share the same at experts.testing@gmail.com.
    Expecting a response from you.

    1. Shai Raiten
      Shai Raiten28/04/2014 ב 15:39

      Hi,

      You can download the tool from – https://mtmcopytool.codeplex.com/

      Enjoy

  84. drormat06/01/2014 ב 16:28

    Hey Shai,
    I’ll be more then happy if you could send me the app.

    Thank you,

    Dror
    drormat@hotmail.com

    1. Shai Raiten
      Shai Raiten28/04/2014 ב 15:34

      Hi,

      You can download the tool from – https://mtmcopytool.codeplex.com/

      Enjoy

  85. Pingback: MTM Copy Tool - ► Shai Raiten's Blog