Micro Focus QTP (UFT) Forums
Key word driven properties - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: Key word driven properties (/Thread-Key-word-driven-properties)



Key word driven properties - rajeshdizzy - 07-17-2009

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


RE: Key word driven properties - rajeshdizzy - 07-21-2009

PLS SOMEBODY CLEAR THIS DOUBT


RE: Key word driven properties - supputuri - 07-21-2009

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.


RE: Key word driven properties - rajeshdizzy - 07-23-2009

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


RE: Key word driven properties - balakrish - 07-24-2009

Hi Rajesh,

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


~Bala


RE: Key word driven properties - rajeshdizzy - 07-24-2009

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