Forum Discussion

ronrhe's avatar
ronrhe
Contributor
16 years ago

How to copy a keywordttest

How can i copy a keywordtest?



I made a basic keywordtest which i want to use for creating other keywordtests.

basicly i just want to simple copy the complete test incl. immages from the visualizer to another name and than work with than new keywordtest.

12 Replies

  • Ramona2's avatar
    Ramona2
    New Contributor
    Hi Margaret 

    So, how can I copy a Keyword test with TestComplete ?
  • Hi Ramona,


    Suppose, you have an OldTest keyword test. To copy the test, follow the steps below:


    1. Right-click the OldTest node in the Project Explorer panel and select Save As from the context menu.

    2. In the ensuing dialog, specify a new name for the test (for example, NewTest) and press Save. TestComplete will display the copied NewTest test in the Project Explorer panel.

    3. Add the old test to the project. Right-click the KeywordTests node in the Project Explorer and select Add | Existing Item from the context menu. In the ensuing dialog, select the OldTest.tcKDTest file and press Open.

    Now you can view both tests (OldTest and its copy - NewTest) under the KeywordTest node.