Reorganizing Repository

Best practices, code snippets for common functionality, examples, and guidelines.
armstronghm24
Posts: 42
Joined: Tue Dec 20, 2016 10:16 pm

Reorganizing Repository

Post by armstronghm24 » Fri Dec 01, 2017 9:26 pm

Right now my project has a single repository, but I would like to split it into multiple repositories. Is there an easy way to do this without the need to go into every module and re-assign repository items that have been moved to a different repository to recordings?

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Reorganizing Repository

Post by odklizec » Mon Dec 04, 2017 8:39 am

Hi,

The only way I know is the somewhat automatized process of creating new repository (selecting different than actual repo), which asks for merging dependent repository elements from existing repo to new/selected one.

Basically, if you create a new repo, or select an existing "other than actual" repo, Ranorex asks if you want to merge a related recorded repository elements from actual repo to new/selected repo. This should help with moving items from one repo to another. But you will have to do it per recording.

BTW, is there a reason why do you want to split a single repo into multiple repos? I think it makes sense only in certain specific cases, like multiple people working on the same test suite, but each on its own project. Or in case you wan to test multiple versions of UI. But generally, I think it's better to keep and work with just one repo?
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration