01-24-2012, 11:41 AM
object.captureBitmap <file name to be saved with path"
Object is the object that you want to capture.
The below example captures browser with google page open
Example1: captures google page
Example 2 : Captures Internet options dialog box
Object is the object that you want to capture.
The below example captures browser with google page open
Example1: captures google page
Code:
Browser("name:=google").CaptureBitmap "c:\Google.bmp"
Example 2 : Captures Internet options dialog box
Code:
Browser("Google").Dialog("Internet Options").CaptureBitmap "c:\InternetOptions.bmp"