Micro Focus QTP (UFT) Forums

Full Version: Key word driven properties
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
In keywordriven properties ,the property capturebitmap.
i did this property by using the google and created a bmp image externally and i wrote like this

Code:
browser("google).page("google").capturebitmap "c:\mypictures\raj.bmp",true

So my doubt is to check the image y we have to call the image from outside.and still i dont understand about the overrideexisting......pls any one explain with an example..


Thankz in advance
PLS SOMEBODY CLEAR THIS DOUBT
Hi Rajesh,

No need to call the image form outside, just you are saving the runtime image in the specified location ("c:\mypictures\raj.bmp"). overrideexisting (True/False) Indicates whether the captured image should be overwritten if the image file already exists in the test results folder or specified folder.

Let me know if you need any more information.
Hi....
ya i understood the syntax.But how to capture the image in a specific area for example in google.wheather to save as webpage or how? can u explain me briefly.

Thankz in advance
L.Rajesh
Hi Rajesh,

using the Bitmap checkpoint we can capture the specific area of the image .


~Bala
Hi bala...
capturing the image is easy....but how will u save that in a path?