Hi,
I have a scenario where in I want to know if I can set the "Use Cache" Property of the rooted folder in the repository to True.
I have a object(this is a rooted object folder) in repository which identifies a particular segment based on index number where in the index number is a variable which i can set in the code, so that i have one object which identifies any segment based on index number.
In the above scenario can I set the "Use Cache" Property to True or not?
Regards,
Vamsi
Using Cache for Repository Elements
Re: Using Cache for Repository Elements
In practice, you should be using the cache all the time. You should only turn it OFF if it is actually causing issues. The cache helps speed up identification, and therefore the tests.
Shortcuts usually aren't...
Re: Using Cache for Repository Elements
I get what you said, but in my scenario can we use it when we are having same root element folder identifying multiple layouts with index as a variable.
I also get the following waning messages in the report.
1. <ObjectName> could be found using its absolute path, but not using its relative path from the cached element of parent folder ...
2. Failed to update the cached element for folder ......
Is issue 2 because of folder having a variable in it?
Regards,
Vamsi
I also get the following waning messages in the report.
1. <ObjectName> could be found using its absolute path, but not using its relative path from the cached element of parent folder ...
2. Failed to update the cached element for folder ......
Is issue 2 because of folder having a variable in it?
Regards,
Vamsi
Re: Using Cache for Repository Elements
Hi annavamsi,
Regarding the error "Failed to update the cached element for folder ... " :
There was a bug in a previous Ranorex Version, which has already been fixed.
So you could try to update to the latest version
Using a variable in a rooted folder path where cashing is set to true should be no problem.Is issue 2 because of folder having a variable in it?
Regarding the error "Failed to update the cached element for folder ... " :
There was a bug in a previous Ranorex Version, which has already been fixed.
So you could try to update to the latest version