This functionality is supported only if you are using the Classic Agent.
By default, two other built-in constants are also enclosed in comment tags in a generated test frame: BrowserSize and bDefaultFont. The recovery system uses these two constants to set the browser’s state before and after Silk Test Classic runs each test. They are useful in establishing a consistent environment for your testing.
Specifies the width and height of the browser window, in pixels. The data type is POINT, which is a record of two integers. The first integer is the width in pixels. The second integer is the height in pixels. The default value ( {600, 400} ) is an appropriate size for a screen with VGA resolution (640 by 480).
If you are using a higher resolution, you would want a larger size for the browser window (the larger the better, in order to minimize scrolling in the test cases). For example, if you are using a resolution of 1280 by 1024, a good BrowserSize might be {650, 900}, which would take up about half the width and most of the height of the desktop.
If this constant is set to TRUE, the recovery system will restores the fonts to the shipped defaults for the browser, as described in SetDefaultFont.
To have the recovery system set the size and fonts, un-comment the constants in the test frame and specify appropriate values for BrowserSize.
Having the recovery system set the browser size and fonts ensures maximum portability of your window declarations in different testing sessions and between browsers. We strongly recommend that you un-comment these constants and use the recovery system for your Web testing.