Duplicating a test script
Any clarification on the above would be greatly appreciated. Thanks!
Accepted answer
if you want to use one script in several TCs, you don't have to duplicate it, because you can use the script in as much as you want TCs.
Duplicating a scripted is intended to make life easier:
If you have TC 1 with script A, and you need for a script TC 2 which is similar to script A (maybe one step changed and two additional steps), you can duplicate it and change the needed steps.
You can duplicate it with references (maybe Test Data) or without references.
In both cases you'll get a completly independet test script entry in your database.
greetings georg.
Comments
Thank you Ara and Georg for your responses.
What happened is that someone duplicated a test script to be used in two different test cases but when they updated the one test script it was also updating the other test script. To me it looks like the same test script linked to two different test cases. They said they used the duplicate option. So I'm not sure why it is behaving that way.
The test scripts are manual and they both have the same id.
Never trust an user. :-D
One possibility:
They've duplicated a test script, but referenced the original script in the second test case.
Or:
They duplicated it with references, so for my understanding you see this in the original testcase as well as in new created once.
Georg,
Thanks again! My guess is the first possibility you mentioned is probably what happened.
Thanks,
Jeff
One other answer
The 'Duplicate' functionality within QM will create a new artifact; so If you are duplicating a Manual Test Script, the result will be a new Manual Test script that can then be modified without affecting the original Manual Test Script
When you browse for your Test Scripts, you will see two entries, the original and the copy