Capture Bitmap Method in QTP
Capture Bitmap:
This method is used to capture the image from the selected object. The captured image will be save in the given path in the bitmap (.bmp) format. Below syntax will show how to insert this (Capture Bitmap) property in to the script
Syntax:
Objhierarchy.Capturebitmap"filename.bmp",True
Example: Scripts to capture Google window:
Browser("Google").Capturebitmap "C:\name.bmp", True
'True is used to exist the image if it is already present in the path
Browser("Google").Window("security Alert").Capturebitmap "C:\filename.bmp",True
Capture a Desktop:
Desktop.Capturebitmap"D:\Desktop.bmp",True
Above are some of the sample scripts that describes the property of "Capture Bitmap"
Capture Bitmap Method In Qtp ~ Web Testing And Software Testing >>>>> Download Now
ReplyDelete>>>>> Download Full
Capture Bitmap Method In Qtp ~ Web Testing And Software Testing >>>>> Download LINK
>>>>> Download Now
Capture Bitmap Method In Qtp ~ Web Testing And Software Testing >>>>> Download Full
>>>>> Download LINK