FlushCache Method

Class

BrowserChild.

Action

Causes Silk Test Classic to reexamine the currently loaded page, BrowserChild, and get any new items as they are generated, such as popup menus. This method is very useful when you are recording dynamic objects that may not initially appear. This is available with the DOM extension only.

Availability

This functionality is supported only if you are using the Classic Agent.

Syntax

BrowserPage.FlushCache()

Notes

BrowserPage.FlushCache() must be called if the page changes but the object count does not. Object count refers to actual count, not to the count of visible objects, since the page change could just hide/reveal objects without actually removing/adding them.

Example

BrowserPage.FlushCache( )