Page 1 of 1

Repository Cleanup Issue

Posted: Fri Nov 04, 2011 4:03 pm
by JabbaMyers
Ranorex Version 3.1.0.13946 suggests I remove items that are actually used in the code.

The items are accessed via a with clause in the code and it doesn't recognise this.

The cleanup suggests I remove all 4 items. When I move the first item out of my with clause it suggest I remove 2,3 and 4.

repo.level1.level2.level3.item1.Click

With repo.level1.level2.level3
.Item2.Click
.Item3.Click
.Item4.DoubleClick
End With

Re: Repository Cleanup Issue

Posted: Mon Nov 07, 2011 5:37 pm
by Support Team
Hi,

Do you use a linked repository too?
I was able to reproduce it but only with linked repositories. This seems to be some special case in VB with linked repositories and the with statement.

Regards,
Peter
Ranorex Team

Re: Repository Cleanup Issue

Posted: Fri Nov 11, 2011 1:39 pm
by JabbaMyers
Thought a repository is a repository no different types? I don't use any recordings if thats what you mean.

As long as your aware of the issue and its on the fix list thats great.

Thanks


Bernard

Re: Repository Cleanup Issue

Posted: Fri Nov 11, 2011 2:48 pm
by Support Team
Hi,
JabbaMyers wrote:Thought a repository is a repository no different types?
For sure, a repo is a repo but internally a linked repository is handled different. That was the reason why I asked you. The bug fix for you issue should be in the new Ranorex Version 3.1.2 which will be released in a few days.

Regards,
Peter
Ranorex Team

Re: Repository Cleanup Issue

Posted: Mon Oct 29, 2012 5:39 pm
by Florent
I encounter a few events without items since i've used the cleanup function without pay attention to which items it have removed. My intuition is that there is still problems with this function. I will be more attentive next time to give you details.

Re: Repository Cleanup Issue

Posted: Tue Oct 30, 2012 2:17 pm
by Support Team
Hi,

It would be great if you could send us more details, this would help us to identify a possible problem.

Regards,
Markus