Tuesday, January 8, 2019


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"





1 comment:

  1. Capture Bitmap Method In Qtp ~ Web Testing And Software Testing >>>>> Download Now

    >>>>> 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

    ReplyDelete

Blog Archive

Translate

Popular Posts

Total Pageviews

Blog Archive