Bug with ranorex reorganizing repository items into folders : Bug Reports

Bug with ranorex reorganizing repository items into folders

Bug reports and feature requests.

Bug with ranorex reorganizing repository items into folders

Postby tallahassee101 » Thu Mar 24, 2011 3:33 pm

Hi,

I'm using Ranorex 3.0 on Windows 7. When Ranorex finds two or more items that share a common rx path I've noticed it will sometimes organize these items into a folder such as:
row[@accessiblename='0']/cell[@accessiblename='Unit']
row[@accessiblename='0']/cell[@accessiblename='Status']

Would be organized into a folder with rx path:
row[@accessiblename='0']

And children:
cell[@accessiblename='Unit']
cell[@accessiblename='Status']

This would be very convenient except that I've found when Ranorex automatically does this, sometimes the items are not able to be found when re-running the test. Moving the children out of the parent fixes the issue and Ranorex always finds the item after that.
tallahassee101
 
Posts: 125
Joined: Thu Jan 13, 2011 3:06 pm

Re: Bug with ranorex reorganizing repository items into folders

Postby Support Team » Thu Mar 24, 2011 4:23 pm

Hi,
tallahassee101 wrote: Moving the children out of the parent fixes the issue and Ranorex always finds the item after that.

Have you tried to disable the caching of the RootedFolder inside the repository? To disable the caching take a look to following link http://www.ranorex.com/support/user-gui ... html#c2076

Regards,
Peter
Ranorex Team
User avatar
Support Team
Site Admin
 
Posts: 4837
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria

Re: Bug with ranorex reorganizing repository items into folders

Postby tallahassee101 » Thu Mar 24, 2011 4:52 pm

I will try this next time it happens, however if this does work I believe the bug would be that it defaults caching to True (unless you can change the default behavior somewhere).
tallahassee101
 
Posts: 125
Joined: Thu Jan 13, 2011 3:06 pm

Re: Bug with ranorex reorganizing repository items into folders

Postby Support Team » Fri Mar 25, 2011 3:44 pm

Hi,

to change the default repository behavior open the settings dialog as explained in following link:
http://www.ranorex.com/support/user-gui ... ialog.html
and uncheck "Enable Folder Caching" in default repository configuration.

Kind regards,
Tobias
Support Team
User avatar
Support Team
Site Admin
 
Posts: 4837
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