background image
<< Specifying browser size and fonts | Identifier of your application >>

Recovery system

<< Specifying browser size and fonts | Identifier of your application >>
Getting Started: A Tutorial
73
4 C
APTURING
Y
OUR
A
PPLICATION
The Test Frame
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
testcases). 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.
bDefaultFont If this constant is set to TRUE, the recovery system restores
the fonts to the shipped defaults for the browser, as follows:
Using these constants To have the recovery system set the size and fonts,
uncomment the constants in the test frame and specify appropriate values.
Important 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 use these constants.
Please proceed to
"How is the test frame used?" on page 75
.
Browser
Action by recovery system if bDefaultFont is TRUE
Internet Explorer
Sets the font size to Medium.
Netscape Navigator
Sets the variable-width font to be 12-point Times
New Roman.
Sets the fixed-width font to be 10-point Courier
New.