Split part of a repository into another (new) repository

Ask general questions here.
bkruse
Posts: 38
Joined: Tue Jul 20, 2010 12:19 pm

Split part of a repository into another (new) repository

Post by bkruse » Tue Sep 07, 2010 2:20 pm

Hi all,

I read this in another topic, it mimics exactly the point where I am at the moment:
Support Team wrote:The choice is up to you, how many items you want to have in a repository, but as soon as you have the feeling that there are too many items which don't logically belong together, you should consider splitting the repository up.
Whats the best way to split some part (for example a dialog and its sub-items) from one main repository into another (new) repository?
My way of doing this was to
- create a new rxrep file
- copy the corresponding AppFolder from the main repository (in Ranorex Studios "Repository View") via the toolbars copy button to the new rxrep file
- delete the AppFolder in the main repository
Problem: While pasting, all items are renamed from "<item>" to "<item>1", although it's a different file (possibly even in a different Project of the same Solution). Bug? Rename is just needed within the same rxrep file, isn’t it?

Because mit AUT has many dialogs, I (roughly) create one rxrep file for each dialog and its sub-items.
Many recordings open such a dialog (via toolbar, menu, keyboard shortcuts, etc.) and perform a testcase and close the dialog afterwards.
Problem here: with splitting the dialog and its sub-items into a separate repository, I would need two repositories in one recording (afaik not possible).
So either I convert all recordings to class files (to be able to use more than one repository) or I include the common parts (toolbar for example) redundant in all repositories, right?
Or do I oversee any Ranorex functionality or structural thing which may help me here?

Thanks for your input and comments,
Björn

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Split part of a repository into another (new) repository

Post by Support Team » Wed Sep 08, 2010 12:11 pm

Hi,
bkruse wrote:While pasting, all items are renamed from "<item>" to "<item>1", although it's a different file (possibly even in a different Project of the same Solution). Bug? Rename is just needed within the same rxrep file, isn’t it?
Yes this is definitely a bug. Thank you for posting it, I will submit it to our bug tracking tool and the issue should be solved in the next release of Ranorex.
bkruse wrote:So either I convert all recordings to class files (to be able to use more than one repository) or I include the common parts (toolbar for example) redundant in all repositories, right?
I would also suggest you the way you described. At the moment there is no other possibility to use more than one repository in a recording. So the best way is to convert the recordings to classes.

Regards,
Peter
Ranorex Team
.
Image