SetBrowserSize sizes the browser window, moving it if necessary to establish the specified size. If the window cannot be sized as specified, Silk Test Classic issues a warning, but lets the test case proceed.
This method is called automatically by the recovery system (in the DefaultBaseState function) if the main page of your application has the constant BrowserSize defined and set, in which case the width and height defined for BrowserSize are passed automatically to SetBrowserSize.
By default, when you generate a test frame, the declaration for BrowserSize is commented out. If you want the recovery system to resize the browser window, un-comment the declaration in your test frame and provide appropriate values. Having the recovery system set the size of the browser window ensures maximum portability of your window declarations in different testing sessions and between browsers.
You can also call SetBrowserSize manually in a test case.