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:

  • UFT Real time Scripts 2020 For more QTP Realtime Scripts,  MS Excel Scripts '''Script to create a new excel file , write data '''save the file with read and write protected '''''pwd1 is for read protected pwd2 is for write protected Set xl=Crea… Read More
  • Tell me about yourself Outline in Software Testing Outline Tell me about yourself in Software Testing  Ø  How long you’ve been working in the field Ø  What you’ve done as a QA Professional o   SDLC Phases o   Methodologies you’ve work… Read More
  • QTP / UFT Multiple Choice Questions & Answers QTP / UFT Multiple Choice Questions & Answers Here is the most UFT popular Questions and Answers 1. The toolbar enables you to view the details of an individual action or the entire test flow is 1. Testing toolbar 2.… Read More
  • UFT Keyboard Shortcut commands UFT Keyboard Shortcut commands  Frequently Used Shortcut keys: To comment block of statements: Ctrl+M To uncomment block of statements: Ctrl+Shift+M To apply “With” to script: Ctrl+W To remove “With” from script: Ctrl… Read More
  • UFT 220 interview questions 2020 UFT 220 interview questions and answers 2020 Automation testing UFT 220 interview questions and answers 2020 Q. 1: What is Automation Object Model in QTP? Like we use QTP for automating the testing of our applications, we … 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

151,861

Blog Archive