Forum Discussion

ml's avatar
ml
Contributor
4 years ago

renaming a bunch of keywordtests

Is it possible to rename a bunch of keywordtests at once like find & replace in code?

  • I think you can rename them in a batch in File Explorer.  Then you'd just need to add the ones with the new names to the project and remove mention of the old ones.

4 Replies

  • I think you can rename them in a batch in File Explorer.  Then you'd just need to add the ones with the new names to the project and remove mention of the old ones.

    • ml's avatar
      ml
      Contributor

      it sounds like that i have to edit all my tests which uses the renamed ones? 

      • Marsha_R's avatar
        Marsha_R
        Moderator

        Yes, you will.  TestComplete doesn't know that you are using the same file with a different name.  It will just know that the file you told it to link to before can't be found and you'll have to tell it which one to use going forward.

  • tphillips's avatar
    tphillips
    Frequent Contributor

    I usually do that sort of thing by editing the .tcKDT XML file. It might not rename the actual files but it will rename them in TestComplete