Use multiple repositories in one module

Download and share automation modules and examples.
bberrabah
Posts: 26
Joined: Wed Dec 20, 2017 6:18 pm

Use multiple repositories in one module

Post by bberrabah » Mon Mar 05, 2018 5:33 pm

Hello;
I am working on a test project for various business acts: Contract Subscription and Modification.
So i have created separate RX project for each business act. The second is referencing the first.
I am facing a case that i need to create a module that use elements from his own repository and elements from the other repository.
Do you have any idea about how to do it please?

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Use multiple repositories in one module

Post by Support Team » Tue Mar 06, 2018 9:43 pm

Hello Bberrabah,

A recording module is limited to one repository. You have two options:
  1. Separate actions into their own recording modules to allow the use of the needed repository element
  2. Merge both repositories (manually) and migrate it to its own project which both projects reference
The first option is a quick easy solution, but if you expect this to occur more often, it is highly recommended to look into the second option. The second option takes more work upfront but will save you a lot of time in the future and overall is a best practice for this scenario.

I hope this helps!

Cheers,
Ned