Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Key word driven properties
#1
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
Reply
#2
PLS SOMEBODY CLEAR THIS DOUBT
Reply
#3
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.
Thanks,
SUpputuri
Reply
#4
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
Reply
#5
Hi Rajesh,

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


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


Possibly Related Threads…
Thread Author Replies Views Last Post
  Check the word and get no. of times that word in the webpage Sandeep.san229 0 1,927 10-31-2018, 06:42 PM
Last Post: Sandeep.san229
  pageDown in word.application wannel 0 2,111 11-25-2016, 10:06 PM
Last Post: wannel
  Automating Word Docs bart02 0 3,173 07-18-2014, 03:25 AM
Last Post: bart02
  Facing issue with Java Table to press Enter Key from Keyboard Nasir Ahmed 0 4,973 05-23-2014, 08:05 PM
Last Post: Nasir Ahmed
  Postmessage function in QTP for simulating Printscreen key does not work steelbird 3 6,666 07-11-2013, 03:27 PM
Last Post: vinod123

Forum Jump:


Users browsing this thread: 1 Guest(s)