cancel
Showing results for 
Search instead for 
Did you mean: 

Exporting Regions as an existing item

SOLVED
Contributor

Exporting Regions as an existing item

I am using javascript. Is it possible to export Regions as an existing item to other projects? If I want to make a project that has a collection of regions checks and export regions as an existing item to the rest of my projects so they can be used in other projects. Can this be done? When I try to do this I get an error. 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Hero

Re: Exporting Regions as an existing item

The Regions.tcRegions file is not currently supported to be shared between projects within the same project suite.  If you open a project in a NEW suite and share the Regions object, that should work, but not within the same suite.


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

View solution in original post

5 REPLIES 5
Community Hero

Re: Exporting Regions as an existing item

What does your code look like and what error do you get?

Community Hero

Re: Exporting Regions as an existing item

The Regions.tcRegions file is not currently supported to be shared between projects within the same project suite.  If you open a project in a NEW suite and share the Regions object, that should work, but not within the same suite.


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

View solution in original post

Contributor

Re: Exporting Regions as an existing item

That's so dumb, the smart thing that anyone would do it to make a project called library that had all your function with all your name mapping along with all your region checks that you know work and then import the library into all your projects which would require to import regions and then just all all the stuff you need out of your library. That way you know all your region checks work and you don't have to keep redoing them and they can be easily tested. Soooooooo dumb. 

Community Hero

Re: Exporting Regions as an existing item

The Regions.tcRegions file is the only thing that cannot be shared.  however, the images themselves WITHIN that Regions file can be shared.  All you'd need to do is just add them in.  Currently, that's a manual process, unfortunately.

Feel free to suggest a change in the Ideas forum here for TestComplete. I agree, it's something that can be improved upon.


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
Community Hero

Re: Exporting Regions as an existing item

@4m4d3u5  I think you'll find that everyone here does things in a slightly different way.  Some of us have been at this a lot longer than others and what seems "dumb" or "smart" to you may be the opposite for someone else.  Please don't use this language about other people here or their work.  Thanks.