Hi,
My solution contains projects, which correspond to specific modules of the web application under test. Each project contains a repository, specific to that module. However, I would also like to have a global repository, including elements which could be used in all projects. Is it possible to do it? If yes, then how.
I'm new to Ranorex, so if there is a solution for that, I would appreciate a step by step instructions.
Thanks in advance.
Global Repository for all Projects in a Solution
- Support Team
- Site Admin
- Posts: 12167
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria
Re: Global Repository for all Projects in a Solution
Hi gni,
This is possible but does take a little setting up to work. The below steps should help you achieve this.
Cheers,
Ned
This is possible but does take a little setting up to work. The below steps should help you achieve this.
- Add a new class library to your solution (right-click {SolutionName} in the Projects panel> Add > New project... > Class Library (under Advance folder). This will be the project which will contain your global repository.
- Add a new repository to this new class library (right-click {ClassLibName} in the Projects panel > Add > New item... > Repository (under Ranorex folder). This is your new global repository.
- Open any recording module in one of your other projects
- In the repository panel (typically on the bottom half), select your new global repository
- When prompted, select Link repository to project '{ProjectName}'
- (optional) If prompted, merge your repositores if you wish to automatically copy the items from the indivdual repository to the new global repository
- (optional) Once linked, there will be a new linked repository file under this project. Right-click this file and select Set repository as default. This will be the default repository used for new recording modules.
Cheers,
Ned