When you visit websites in a browser, it saves cookies from those sites and also caches some resources and images so that they do not need to be downloaded during repeat visits. Cached data and cookies may create issues during recording and playback, for example, the website may appear or behave differently on repeat visits.
To ensure stable recording and playback, DéjàClick provides the Simulate New Visitor option. Use this option when:
A successful replay of a particular website requires simulating a "new visitor" experience.
You are recording a business transaction for a replay with AlertSite's global monitoring platform.
You can enable or disable the Simulate New Visitor option before recording scripts. The option state will be saved as part of the recorded script and will also have effect during script playback.
By default, the Simulate New Visitor option does the following before recording and playback:
You can also select additional types of cached content to clear:
In DéjàClick 2.x, click on the toolbar and select Options.
In DéjàClick 1.x, click Configure Options on the toolbar and select DéjàClick Options.
Change Display Level to Advanced.
On to the Record tab, expand the Simulate New Visitor category.
Select the desired options:
Hide Existing Cookies
Websites may change their displayed content or functionality after repeat visits, which can sometimes create issues during playback. This option temporarily hides your browser’s stored cookies to simulate visiting a website for the first time. After recording or playback, your previous cookies are restored and any new cookies are automatically appended.
Clear Browser Cache
Depending upon configuration, when a page is loaded, its resources may be cached so they do not need to be downloaded after repeat visits. Some websites may change their displayed content or functionality after repeat visits based on whether certain images have been requested from the server. This can sometimes create issues during playback if you have cleared your browser’s cache, are using a different computer, or if you are recording a Business Transaction for playback with AlertSite’s global monitoring platform. This option clears the browser’s cache prior to recording and playing back a transaction.
Clear Form Data
Depending upon configuration, your browser may remember data you entered in web page forms and automatically preload those values after repeat visits. This can sometimes create issues during playback if you have cleared your private data, are using a different computer, or if you are recording a Business Transaction for playback with AlertSite’s global monitoring platform. This option temporarily disables the browser’s auto-fill behavior for form input fields when recording and playing back a transaction.
Click Apply to save the changes.
Now, when you record new scripts, the state of the above-mentioned options will be saved as part of the script so that the browser settings can be temporarily reconfigured each time the script is replayed.