Forum Discussion

Marsha_R's avatar
Marsha_R
Icon for Champion Level 3 rankChampion Level 3
12 years ago

No longer able to copy code from one keyword test to another

We are now on TC version 9.31. 



It seems that we can no longer copy code from one keyword test to another.  In earlier versions, we were able to copy existing code, change the object names to match the new test/name mapping and proceed.



Now it seems that the code somehow remembers the name mapping from the old test and will keep looking for those objects rather than the new ones.  The only work around we have found is to create the same code in the new test, which defeats our attempts to make the tests standard and reusable.   An example is attached to this post. 



What has changed? 

4 Replies


  • Hi Marsha,


     


    Could you please try checking whether this behavior is reproduced in TestComplete 10? We've recently released it. You can request it on this page.


     

  • Marsha_R's avatar
    Marsha_R
    Icon for Champion Level 3 rankChampion Level 3
    Hi Tanya - 



    Sorry, I can't do that.  I have to wait until our quality team approves a version before I can move to it, and given how many new issues we've had since upgrading to 9.31, I don't think it'll be soon. 
  • Marsha_R's avatar
    Marsha_R
    Icon for Champion Level 3 rankChampion Level 3
    If I have time, I will be sure and do that.  Unfortunately, the turnaround time for support is usually longer than we have available to deal with an issue.  We usually have to find a work around and keep going.  Thanks anyway.