Page 1 of 1

Repo Cleanup

Posted: Thu Dec 01, 2016 8:17 pm
by BSullivan
I am going through my current Item Repository and looking to clean it out. We are moving to a different set of controls and I will have to make large amounts of changes to the repo items to keep up with changing controls.

It looks like currently the cleanup button only checks to see if the repo item is used in a code module or recording module, but none of my repository objects are referenced there. All of the references are in methods that my testers call in code modules and feed in the correct variables, so the cleanup feature wants to remove my entire repo.

Is there an easier way to clean this up without searching for user code references for each item one by one?

Thanks in advance,
Bryon

Re: Repo Cleanup

Posted: Thu Dec 01, 2016 8:51 pm
by krstcs
Unfortunately, I don't think there is. Since your framework is setup in an alternative manner to what Ranorex provides and expects out of the box, you are likely going to also have to use an alternate mechanism for cleaning up your repo.

Re: Repo Cleanup

Posted: Fri Dec 02, 2016 2:32 pm
by BSullivan
Thanks Krscts.

I thought that would be the case, I was just hoping that it wasn't.

Maybe this is something that can be looked into for a future release. With the implementation of the new "Code Library" feature, more people may be headed down a similar route, although maybe not as extreme as in my case.

Re: Repo Cleanup

Posted: Fri Dec 02, 2016 2:54 pm
by odklizec
Hi,

You can always make a feature request, either via [email protected] and newly also here:
http://uservoice.ranorex.com/forums/150 ... e-ranorex/

Re: Repo Cleanup

Posted: Thu Dec 08, 2016 2:32 pm
by BSullivan
After playing around with it, it appears that the "Cleanup" function treats repo items used in classes and methods with the new properties as "used" and doesn't want to delete them. :D