Repository Cleanup Issue : Bug Reports

Repository Cleanup Issue

Bug reports and feature requests.

Repository Cleanup Issue

Postby JabbaMyers » Fri Nov 04, 2011 5:03 pm

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
JabbaMyers
 
Posts: 2
Joined: Fri Nov 04, 2011 4:54 pm

Re: Repository Cleanup Issue

Postby Support Team » Mon Nov 07, 2011 6:37 pm

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
User avatar
Support Team
Site Admin
 
Posts: 4845
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria

Re: Repository Cleanup Issue

Postby JabbaMyers » Fri Nov 11, 2011 2:39 pm

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
JabbaMyers
 
Posts: 2
Joined: Fri Nov 04, 2011 4:54 pm

Re: Repository Cleanup Issue

Postby Support Team » Fri Nov 11, 2011 3:48 pm

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
User avatar
Support Team
Site Admin
 
Posts: 4845
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria


Return to Bug Reports

Who is online

Users browsing this forum: No registered users and 0 guests