TFS 2010 Tester Power Tool - Bulk Copy Test Cases for Microsoft Test Manager
If you are using Microsoft Test Manager and want to manage your test cases over multiple releases aka “versioning test cases” - the only way you can do this is by copying test cases and changing the Iteration field. This tool allows you to do both very quickly in bulk.
We came across an observation while using the “Copy Attachment” functionality of Bulk Copy Test Cases tool (Version 10.5):
•When we select a test case with attachment from the list (displayed by running the query) and keep the “Copy Attachment” check box checked. Clicking the Copy Test Cases button gives error and tool closes.
Hence we are not able to copy a test case with attachment from one iteration to another.
•We are considering it as bug assuming that attachment of any form should be copied using the tool.
Hope you will look in to the query and try to resolve it since we are keenly waiting to use the tool.
My colleague can run the tool - but I cannot.
My colleague has VS2010 on his machine and uses the same TFS over the intranet as I do - also 2010.
As I say, I use the same TFS over the intranet, but my machine itself has VS2012 (on which I run Microsoft Test Manager).
Running either version of the "bulk copy test cases" tool leads to an error on my machine.
A pop up stating "Bulk Copy Test Cases Tool has stopped working".
If I let it go on to check online for a solution or debug or troubleshoot compatibility, nothing useful happens.
Is there a version for this scenario?
Thanks in advance,
Here's the "problem details":
Problem Event Name: CLR20r3
Problem Signature 01: bulkcopytestcases.exe
Problem Signature 02: 184.108.40.206
Problem Signature 03: 501c254a
Problem Signature 04: BulkCopyTestCases
Problem Signature 05: 220.127.116.11
Problem Signature 06: 501c254a
Problem Signature 07: 20
Problem Signature 08: 6
Problem Signature 09: System.IO.FileNotFoundException
OS Version: 6.1.7601.2.1.0.256.4
Locale ID: 2057
Additional Information 1: 7846
Additional Information 2: 784698f850c4860ea6f40057d13acf09
Additional Information 3: 6768
Additional Information 4: 6768af86e7c3681e61514d5539681c64
Read our privacy statement online:
If the online privacy statement is not available, please read our privacy statement offline:
Actually - sorry - ignore this.
I just downloaded the 2012 version again - to double check the "problem details" - and it now works.
That was my 4th download and install of it.
And I thought 3rd time was the charm.
A great and useful too.
Nice tool, can't believe Microsoft does not included this functionality in MTM or TFS, one of many strange oversights.
Do you know if this will work with TFS2012 or if not, will a new compatible version be released?
I am looking to do a more broad effort - to move test plans & suites from collection to collection - and looking for any leverage I can find in doing this quickly. It occurs to me that your own tool might have some of the elements - If you would consider sharing - and I would happily share whatever I come up with and credit your part. I am not seeking to build a tool for commercial use - just trying to avoid an absurdly large effort here at my own job migrating thousands of test cases where the TFS integration package is failing to help much. But if my work can benefit others - why not!? (The path forward to migrate free of the many bad collections and process templates here - anything that gets me further down the road is hugely appreciated.)
Reachable at visionary1usa at gmail dot com
I have used the TFS integration package to move work items from one collection to another collection many times without any problems. The logic I am using for copying work items is functionality that is only available in TFS within a collection.
Best of luck,
I just found your tool and I'm using it to copy existing test cases back into the same iteration so I can minor changes. It's very useful. However, when I refresh the query all of the test cases and I have to manually deselect the ones I'm not interested in copying. A mass select/deselect would be super useful. Especially as the number of test cases grows in this iteration.
I'd be willing to help code this change if you'd be willing to share your source code. I will then submit it back to you so you can update your tool and share it with the world.
You can also contact me at brian@ agilesg.com (without the annoying space after the @ symbol)
This looks like a very useful tool to use when trying to maintain a specific state of a test case and allowing testers to move on to modify when necessary. I do have a question about the duplication though. If we were to rely on the code coverage to identify which tests to run when changes are made, would the tests identified be duplicated therefore allowing redundant testing to be recommended?
Any insight you can provide would be appreciated.
first off sorry for delay
The copy cmd copys all links if you use the CopyLinks flag, this means if copy a Test Case that was copied from another test the new Copied Test Case would have 2 links one to the Test Case it was copied from and one that Test Case was Copied from. This starts to snowball and can get out of control as it has in our environment. We has some Test Cases with over 900 links to other Test Cases.
This is the reason why I want to turn off the CopyLinks flag
I agree that traceablity is need to be maybe would link to one after.
I have a set of "version 1" test cases and I would like to duplicate those test cases to create a "version 2" so that each copied test cases has a new ID number. We are working on multiple releases and the test cases need to be customized for each iteration. I wasn't sure if this tool is just copying test suites or creating new test cases.
Great tool! However, I wonder what is the recommended approach when it comes to new Test Suite(s). I have a suite of regression test cases that I need to run for each iteration. Should I just "add" (i.e. link) the test cases to the new suites or use your tool to copy (i.e. create) new ones?
If you don't need to make changes to the regression test cases, then you can link the test cases to a new suite. If you need to make changes to your regression test cases for that iteration, I would use the tool to copy them and create new ones. Thanks, Anna