I read this in another topic, it mimics exactly the point where I am at the moment:
Whats the best way to split some part (for example a dialog and its sub-items) from one main repository into another (new) repository?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.
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