Capturing a Bitmap During Recording

  1. Open the dialog box by pointing at the object you want to capture and pressing Ctrl+Alt.
  2. Click the Bitmap tab.
  3. Enter a file name in the Bitmap File Name field. Use the Browse button to select a directory name. The default path is based on the current directory. The default file name for the first bitmap is bitmap.bmp. Click Browse if you need help choosing a new path or name.
  4. Choose whether to copy the Entire Window, Client Area of Window, or Portion of Window, and click OK. To capture a portion of the window, move the mouse cursor to the location where you want to begin. While pressing the left mouse button, drag the mouse to outline a rectangle, and then release the mouse button to capture the bitmap.

Silk Test Classic always adds a bitmap footer to the bitmap file. This means that the physical size of the bitmap will be slightly bigger than if you capture the bitmap in the Bitmap Tool. The bitmap footer always contains the window tag for a given bitmap.

The Open Agent and Classic Agent capture bitmaps in different color depths. By default, the Open Agent captures bitmaps using the current desktop settings for color depth. The Classic Agent captures bitmaps as 24-bit images. If you create a mask file for the captured bitmap using the Bitmap tool, the mask file is saved as a 24-bit bitmap. If the bitmap mask file does not have the same color depth as the bitmap that you capture, an error occurs. To ensure that VerifyBitmap functions do not fail due to different color-depth settings between the captured image and the mask image, ensure that the bitmaps have the same color depth.