Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Duplicating a test script

When someone duplicates a test script for the purpose of using the duplicated test script in a different Test Case is there really a second Test Script record or is the same Test Script just being linked to by two different Test Cases?

Any clarification on the above would be greatly appreciated. Thanks!

0 votes


Accepted answer

Permanent link
Hi Jeffrey,

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.
Jeffrey Burke selected this answer as the correct answer

0 votes

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

Permanent link
 Jeffrey 

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  

1 vote

Comments

Thanks Ara for your reply!

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,014

Question asked: Jun 30 '14, 9:13 a.m.

Question was seen: 4,551 times

Last updated: Jun 30 '14, 10:33 a.m.

Confirmation Cancel Confirm