I am having severe problems with IE caching my tests. I can confirm with fiddler that if I run a certain test and return to the same url it does not hit the server but instead returns data from cache in all versions of IE that I have tested (IE 9, 10, 11). These same tests work as expected in firefox and chrome. This is not a problem with the Telerik Testing Framework but a problem with Internet Explorer. I have found two solutions to this problem:
- Enable "Always Refresh from Server" in the IE developer tools menu. This works well and is most likely how I would like to solve this issue but the problem is that this setting does not stick and I have to manually enable it every time a new instance of IE is loaded.
- Write random query string values onto the end of all urls to ensure that the url is unique and therefore will not pull from cache. This works well but I consider it to be a hack and therefore I am looking for a more graceful solution if it exists.
So is there any way that I can use the Telerik Testing Framework to enable the "Always Refresh from Server" option in IE? Or maybe there is a way to always enable this option or make it persist across all IE sessions? Any help would be appreciated.