How to remove caching for one item?

Ask general questions here.
SanMan
Posts: 147
Joined: Tue Apr 13, 2010 9:59 am

How to remove caching for one item?

Post by SanMan » Tue Jan 25, 2011 2:23 pm

Newby question; how to do this:

Item 'FormVoting.ListList.CheckBoxA' could be found using its absolute path, but not by using the repository structure.Please make sure that all of its parent folders have unique paths. (You can also try to disable caching for the parent folders of this item.)

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: How to remove caching for one item?

Post by Support Team » Tue Jan 25, 2011 4:00 pm

Hi,

Following link will explain how to make a unique RanoreX Path:
http://www.ranorex.com/forum/how-do-i-f ... t1357.html

It's not possible to disable caching for an item, since only folders are cached. Following link will show you how to disable caching for a folder:
http://www.ranorex.com/support/user-gui ... html#c2076

Kind regards,
Tobias
Support Team
.
Image

SanMan
Posts: 147
Joined: Tue Apr 13, 2010 9:59 am

Re: How to remove caching for one item?

Post by SanMan » Wed Jan 26, 2011 10:09 am

So I have to do this:

"To change the default search timeouts used for the repository simply open the configuration dialog by clicking toolbar button.
Opens the configuration dialog of the repositoryThe repository's configuration dialog contains four tab sections, but only two of them rely directly on the repository. The tab items 'General' and 'Imaging' contain general Ranorex settings which affect the behaiviour of Recorder and Repository during recording and replay.
Simple adapt the values of the 'Repository Defaults' tab to specify the defaults for repository folders and items. Also uncheck the 'Enable folder caching' to turn off folder caching for all items by default. Uncheck the checkbox 'Enable folder autogeneration' to prevent the repository from creating rooted folders automatically."

So this setting affect to all repository items? :oops:

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: How to remove caching for one item?

Post by Support Team » Wed Jan 26, 2011 1:46 pm

Hi,

to disable the caching for a folder you have to open the properties dialog of the folder:
1.jpg
Open Propertis Dialog of folder
1.jpg (21.47 KiB) Viewed 1421 times
and set the "Use Cache" property to "False":
2.jpg
set the "Use Cache" property
2.jpg (26.16 KiB) Viewed 1421 times
To your question:
So this setting affect to all repository items?
This will only affect repository items generated after altering the configuration.

Regards,
Tobias
Support Team
.
Image

SanMan
Posts: 147
Joined: Tue Apr 13, 2010 9:59 am

Re: How to remove caching for one item?

Post by SanMan » Thu Jan 27, 2011 6:35 am

Thank you very much again! :D

JSN
Posts: 5
Joined: Tue Nov 06, 2012 9:04 am

Re: How to remove caching for one item?

Post by JSN » Mon Nov 12, 2012 1:45 pm

I need "Use Cache" property to be "False". As default.

Where can i do it?

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: How to remove caching for one item?

Post by Support Team » Mon Nov 12, 2012 5:47 pm

Hello,

You can do this by disable folder caching in your global settings.
Please take a look at our section Folder Caching in our User Guide.

Regards,
Markus (T)
.
Image

JSN
Posts: 5
Joined: Tue Nov 06, 2012 9:04 am

Re: How to remove caching for one item?

Post by JSN » Tue Nov 13, 2012 9:29 am

Thank you. :D