How can i Save the snapshots in a specified folders
using Scripting in QTP?
Answer Posted / sreeprasad
We can save the Snapshot in particular folder or location
by using CaputureBitmap.
Syntax:
Object.CaptureBitmap "C:desktopramesh.bmp",true
we can use 2 format (1) .BMP format (2) .png format
& True or False is optional
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What are the types of properties that quick test learns while recording?
how can i pass a "automation script" as a parameter in a function give me need full suggestion thank inadvance
What are the benefits of qtp?
What we are looking for is to load properties of object dynamically as for our application the global repository will pretty huge. It will be really helpful to us if something similar to following functions of Winrunner is available in QTP. #Define descriptor auto strDesc; #set property in the descriptor Gui_desc_set_attr(strDesc,?Class?,?Edit?); --- put other properties #Add Edit box to GUI Map Gui_add(? ?,strWindowName,strEditboxName,strDesc);
Suppose I want fail that check point? How can you do that?
What is a checkpoint? How many check points are there in qtp?
If you have two monitors one is of 19inch and the 2nd one is of 24inch,if you want to write same QTP script in both the two monitors is there any changes required in the script?
in qtp 3 sheets is there in data table like global, action1, action2. I want to check the rows and columns in action2. how can check using script?
Explain types of output values?
can any one please tell me which is the best institute in Bangalore to learn QA (crash course)? Thanks
before launching qtp, we need to close all the open browsers u dont know what are all the browsers either it might be ie,mozilla etc and u dont know how many brosers are open.... u need to close all these before launching qtp.. can anyone plz temme d solution...
What are the check points can be inserted without recording?
What is 'sleep' in sync point?
what is key word driven frame work ? why it is called like that ? what is the diference between keyword driven and data driven frame work ?
You will receive the mail in your outlook from client at night time to go ahead for the execution. Based on the mail you need to trigger the batch run. What is the QTP Code for this?