Forum Discussion
5 Replies
Hi Edward,
Currently, there is no such functionality in TestComplete. We have a suggestion to implement this functionality in our database. Your post has increased its rating.
Instead, to perform your task, you can use a script unit or a keyword test that you can add to project test items. For more information, refer to the Test Items Page (Project Editor) help topic.- AurelienContributor
Hi,
I will appreciate a lot to be able to copy Project in ProjectSuite too.
Actually I am testing some applications which share Units and NameMapping. Plus I have same Persistant Variables names in the projects.
I wanted to make a global project that I could copy so I don't have do import Units and NameMapping (plus Events), but so I realized that TC has copied the elements inside the project rather to just keep the links. So the interest of sharing the same elements to change all at once is lost.
Thanks you!
FYI:
Each Project Contains: 5 imported Units (3 for tests and 2 for Events), 2 Events, 1 NameMapping shared and at least one common TestedApp. There is one Persistant Variables that I am creating in each project (the name is the same since I use it in one script but the value depends from the test).
Hi Aurelien,import Units and NameMapping
To avoid copying project items and just create references to the existing units and name mapping file, you can use approaches described in the Sharing Project Items and Their Child Elements Among Several Projects help topic.same Persistant Variables names in the projects
Instead, you can use project suite variables.plus Events
There's no way to share events among projects. In our database, we have a suggestion to add this ability, and your request has increased its rating.- AurelienContributor
Hi Alex,
Thanks you for the reply I was sharing scripts elements now I see we can share the Script.tcScript too.
Actually, I tried to clone a Sample Project, but TC rather to copy the link to common Script and NameMapping, has copied the child Elements inside the new project I have Cloned. So scripts and NameMapping are no more shared but copied.
It will be great if I could keep the links when I clone rather to copy elements. Is there a way to do this please?
Thanks!
PS: I can not use the ProjectSuite Variable for what I want to do because the values are different by project, but the script is common.
Hi Aurelien,
We have an appropriate suggestion to implement this functionality in our database. Your request has increased its rating.