Try </font><blockquote><font size="1" face="Verdana, Arial, Helvetica">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">window.CaptureBitmap(sFile, opt RECT) </pre><hr /></blockquote><font size="2" face="Verdana, Arial, Helvetica">SilkTest will capture the screen (maybe defined by RECT) itself and safe the bitmap to sFile.
CaptureBitmap function complains if the image isn't stablize i.e if the browser is in a wait state. how do you by pass that help says this:
CaptureBitmap captures the contents (and any color table information) of the window and saves it in the file sBitmapFile. It then waits the time interval specified with the OPT_BITMAP_MATCH_INTERVAL option, and then recaptures the window, comparing the result against the first capture to ensure that the image is stable.