Forum Discussion

sudhir_optima's avatar
sudhir_optima
Contributor
13 years ago

How to merge Keyword test,Script, stores from diifferent Project suite

I want to merge Keyword test, script,Log files,Stores,Visualisers from different Project suite / Different Projects ?
  • I have a workaround on this.  Actually we are working on Different modules of the same application. So before we have two different Project suites. Now we want to have all modules in a Single Project suite.

    We have Two Project suites Projectsuite1 and Projectsuite2

    To merge I have created New Project with all folder structure ie. Events, Log, Keyword test, Name Mapping, Scripts,Stores.in Projectsuite1.



    Then I have copied Events, Log, Keyword test, Name Mapping, Scripts,Stores from Projectsuite2 to this new Project of Projectsuite1.

    When I reload the Project, it only displayed Events and Regions. But no Keyword test and Scripts are displaying. ( We have created folder structure and scripts are written in it.).



    Can any one let me know why the Keyword and Scripts are not displayed/ reload ?



    Then my Task is to move/ copy ( Now all those are in a Single Project suite, but in Different Project)  those script in a Single Project of Projectsuite1?



    How to do this ?
  • irina_lukina's avatar
    irina_lukina
    Super Contributor

    Hi Sudhir,


    I want to merge Keyword test, script,Log files,Stores,Visualisers from different Project suite / Different Projects ?


    I recommend that you add the needed elements to your project using the following approach:

    1. Right-click the parent node (Scripts, Keyword Tests, etc.)

    2. Select Add | Existing Item from the ensuing context menu.

    Important: adding an existing script or test to the project does not create a copy of this script or test, it just adds a reference to the project.


    As for copying the files and unbinding them from ProjectSuite1, it's not as easy as you think it is. I recommend that you copy not only the files that contain the script routines or needed keyword tests, but also those that contain references to these files (project file - .mds, Script.tcScript, etc.). Otherwise, TestComplete will have problems opening files that were copied to the project folder, but were not added to the project files.


    I hope this information helps :)