MantisBT - TestLink
View Issue Details
0005696TestLinkTest Specificationpublic2013-05-07 20:592013-05-22 20:56
highfeature requestN/A
1.9.6 (2013 Q1 - bug fixing) 
1.9.7 (2013 Q2 - bug fixing) 
MySQL and Postgres
0005696: Add "Copy as Ghost" button to "Move / Copy Test Case" page.
On the page "Move / Copy Test Case" add next to the "Move" and "Copy" buttons a "Copy as Ghost" button which will copy all the test case steps with the [ghost] sytax.

Go to page
"Move / Copy Test Case
Move Test Case to a different Test Suite.
Copy Test Case to any Test Suite.
Important: You can only choose Test Suites belonging to this Test Project.

Choose Test Suite

 Copy Keyword Assignments
 Copy Requirement Assignments

Destination position top
Destination position bottom"
TO BE FIXED on 2.0
child of 0005551closed fman Availables hot-fixes for 1.9.6 & How To get full fixed package from gitorious 
png first-impl.png (30,702) 2013-05-08 21:52

png ontcase-page.png (20,856) 2013-05-09 05:55
Issue History
2013-05-07 20:59jamiepNew Issue
2013-05-07 21:09fmanNote Added: 0018906
2013-05-07 21:14fmanNote Added: 0018907
2013-05-08 06:12fmanNote Added: 0018908
2013-05-08 06:15fmanNote Edited: 0018908bug_revision_view_page.php?bugnote_id=18908#r2702
2013-05-08 06:23jamiepNote Added: 0018909
2013-05-08 09:08fmanNote Added: 0018910
2013-05-08 21:52fmanFile Added: first-impl.png
2013-05-08 21:52fmanNote Added: 0018913
2013-05-08 21:54fmanNote Added: 0018914
2013-05-08 21:55fmanAssigned To => fman
2013-05-08 21:55fmanStatusnew => assigned
2013-05-08 21:56jamiepNote Added: 0018915
2013-05-08 21:57jamiepNote Edited: 0018915bug_revision_view_page.php?bugnote_id=18915#r2704
2013-05-08 22:06fmanNote Added: 0018916
2013-05-09 05:55fmanFile Added: ontcase-page.png
2013-05-09 05:56fmanTag Attached: TO BE FIXED on 2.0
2013-05-09 05:56fmanNote Added: 0018917
2013-05-09 05:57fmanQA Team - Task Workflow StatusTBD => READY FOR TESTING
2013-05-09 05:57fmanFixed in Version => 1.9.7 (2013 Q2 - bug fixing)
2013-05-09 05:57fmanRelationship addedchild of 0005551
2013-05-09 05:57fmanStatusassigned => feedback
2013-05-09 06:27jamiepNote Added: 0018921
2013-05-09 06:27jamiepStatusfeedback => assigned
2013-05-11 17:24fmanStatusassigned => resolved
2013-05-11 17:24fmanResolutionopen => fixed
2013-05-22 20:56fmanStatusresolved => closed

2013-05-07 21:09   
1. please explain with more details what has to happen, what is the use case, because is not clear (at least for me)
2. give a look to 0005697, may be can solve part of your request
2013-05-07 21:14   
ok just got the idea.
2013-05-08 06:12   
(edited on: 2013-05-08 06:15)
Important Thing:
Normal copy operation copy (to be cheched) all test case versions, the 'Copy with Ghost Steps' is going to use as version reference LATEST no matter if test case version is active or not ?
Given a look to the code the simplest (Quick & Dirty) solution is to copy ALL test case version, using GHOST for each version on step action and expected result,

2013-05-08 06:23   
Ghosting the latest version will be the normally desired result.

Is LATEST a keyword?

For example
[ghost]"Step":1,"TestCase":"TRAIN-7 ","Version":LATEST[/ghost]
2013-05-08 09:08   
I think latest is not managed will check
2013-05-08 21:52   
first implementation available FROM TEST CASE OPERATIONS see attached image.
please test and provide feedback
2013-05-08 21:54 [^]
2013-05-08 21:56   
(edited on: 2013-05-08 21:57)
I will test.

Issue I reliased is when New version is made. I will test the following workaround.

Once Versioning happens all the Ghost links will be broken so the workaround process will have to be make a master test suite that is never executed to ghost from. It will be just a library of shared steps.

This loses the benefit of Test Case versioning but ghosting is a bigger productivity gain.

2013-05-08 22:06   
>> Once Versioning happens all the Ghost links will be broken
>> so the workaround process will have to be make a master
>> test suite that is never executed to ghost from.
>> It will be just a library of shared steps.
yes this is some kind of approach I've started to use.
Because you can point steps of test cases that belong to OTHER TEST PROJECT instead of having a master test suite that you use to provide reuse you can use a DIFFERENT TEST PROJECT named TEST REUSE or COMMON TESTS (what a great fantasy:))

Implementation use ONLY the latest version of test case been copied.
2013-05-09 05:56 [^]
2013-05-09 06:27   
Work OK.

Not sure of performance implications of allowing a Ghost Copy of a Test Case that is already Ghosted.