| || |
I'm fairly new to TestDirector and right now I'm trying to copy and paste a subset of test cases (Test Plan) and test sets (Test Lab) containing those test cases from one project to another. I have the same test case included in multiple test sets. When copying a test set between projects, TestDirector copies all test cases associated with the test set as well. I have the same test case included in multiple test sets. My problem is that when I copy a test set containing a test case that has already been copied, TestDirector creates a new instance of that test case with a new name rather than overwrite it or recognize that it already exists.
"TESTCASE" is part of "TESTSET", "TESTSET2", and "TESTSET3".
"TESTCASE" is created in the new project when "TESTSET" is copied.
"TESTCASE_copy_" is created in the new project when "TESTSET2" is copied.
"TESTCASE_copy2_" is created in the new project when "TESTSET3" is copied.
I am using TestDirector 7.6 with Internet Explorer 6.0. I am using Copy/Paste between two browser windows to perform this operation. I will need to repeat this procedure a number of times between the two projects (making an identical backup copy of test case/test set subset) in the future. I'm curious if anyone knows a solution or an alternative method. The projects are in the same domain, and I am a user (not admin) with delete privileges only for test cases. Copying the entire project is not a possiblity because of the manner in which TestDirector is implemented.
Thanks for the help!
Re: Copy/Paste TestSets
Better to copy the test plan (filtered on the test sets in question) then rebuild the test sets.
Copies from project to project always create new objects because everything is keyed off the ID's...which are keys in the db.
A hack to make this easier might include one or more user defined fields in the source and desination projects that could be used as an identifier for the test set creation on the destination project. Filter the test plan on each test set....add an identifier in the user field for that test set...rinse and repeat. Copy the test plan to the new project. Create new test sets based on filtering your user fields...