cancel
Showing results for 
Search instead for 
Did you mean: 

Sharing existing items with multiple projects

SOLVED
Contributor

Sharing existing items with multiple projects

Hello,

 

Situation:

I have a Project Suite containing 23 Projects. I use one project to create/mainting the scripts which are then used to be shared with other project.

 

Problem:

Every time I created a new script file I want to share with the other projects, I have to add it manually to the 22 other project. This is pretty labor intensive/boring/ RSI prone, etc.

 

My question:

Is there a way to add a script to the 22 of the other projects in a single action?

 

 

Kind regards,

Daniel

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Contributor

Re: Sharing existing items with multiple projects

We have a very simple solution, which works fine for our need.
We have a external tool used for some of our tests. All interaction for this is kept in a project solely for this. Mapping are needed for the tool in all the referencing projects within the project suite. But this tool rarely changes, so it is manageble.

 

Also we keep some windows system "utilities" for for the test in the same project. This code is with out using namemapping. So this part is easy.

 

Units from this "shered" project are imported as exsisting units into the projects where we need them.

This works fine, within this scope.

 

Br,

Christian

 

 

 

 

 

Br,
Christian
Personal notebook/Blog: www.testtech.dk

View solution in original post

6 REPLIES 6
Highlighted
Community Hero

Re: Sharing existing items with multiple projects

There isn't an easy way to do it no. I created a feature request to be able to share a library of scripts a while back. What you can do is parse the Script.tcScript file which is just an XML file with something like powershell to add in script units.


Thanks,
Carson

Click the Accept as Solution button if my answer has helped
Highlighted
Community Hero

Re: Sharing existing items with multiple projects

Depending upon what the code is that you want to share across the 22 projects, you could consider putting them into Script extensions.  Once an extension is updated, it is immediately available across all projects in the environemnt.


Robert Martin
[Community Expert Group]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
Highlighted
Community Manager

Re: Sharing existing items with multiple projects

Thanks for the help, tristaanogre, cunderw 

 

@daniel_dewinter, do the suggestions given here help you?

---------
Tanya Gorbunova
SmartBear Community Manager

 Join SmartBear Connect next April in Boston to meet with software development, API and testing experts from around the world! Get your ticket today!
Highlighted
Contributor

Re: Sharing existing items with multiple projects

@TanyaGorbunova 

 

Both solution I would have to investigate, for which I don't have the time at the moment. I was hoping there's a simple solution. Something like in the attached picture.

 

Daniel

 

 

 

Highlighted
Community Hero

Re: Sharing existing items with multiple projects

There isn't such a solution currently, now.  As mentioned above, somebody already put in a feature request.  Go find that and up vote it to give it impetus in SmartBear's product planning.


Robert Martin
[Community Expert Group]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
Highlighted
Contributor

Re: Sharing existing items with multiple projects

We have a very simple solution, which works fine for our need.
We have a external tool used for some of our tests. All interaction for this is kept in a project solely for this. Mapping are needed for the tool in all the referencing projects within the project suite. But this tool rarely changes, so it is manageble.

 

Also we keep some windows system "utilities" for for the test in the same project. This code is with out using namemapping. So this part is easy.

 

Units from this "shered" project are imported as exsisting units into the projects where we need them.

This works fine, within this scope.

 

Br,

Christian

 

 

 

 

 

Br,
Christian
Personal notebook/Blog: www.testtech.dk

View solution in original post