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"




Related Posts:

  • Debug the QTP Scripts Debug the QTP Scripts 1. Pause2. Step into3. Stepout4. Stepover5. Debug Viewer … Read More
  • Enhancing the Scripts for Automation Enhancing the Scripts for Automation 1. VB Scripts2. QTP Methods3. Parameterization4. Checkpoints5. Synchronization6. Regular Expression7. Recovery Scenarios8. Environment Variable… Read More
  • Types of Objects in UFT Types of Objects in UFT 1. Run Time Object:        Physical description of an object is called an run time object.Ex:  (Editor, Button, Link, Checkbox, RadioButton, ComboBox, Wi… Read More
  • Generation of Scripts for Web Application Generation of Scripts for Web Application Record and Playback:Browser("name of the application in the browser").Page("name of the page in the browser").object("name of the object identified").OperationSo, This is the basic … Read More
  • Concept of Object Repository (OR) Concept of Object Repository (OR) Add Objects:Resources --> Object Repository (Ctrl+R) --> Objects --> Add Objects to Local --> Choose the Auto (or) Object --> All object TypeBy doin… Read More

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

150,636

Blog Archive