How to capture a window in qtp or how to take snapshot of
any window while writing script in qtp

Answers were Sorted based on User's Feedback



How to capture a window in qtp or how to take snapshot of any window while writing script in qtp..

Answer / kishore

object.CaptureBitmap FullFileName

Is This Answer Correct ?    3 Yes 3 No

How to capture a window in qtp or how to take snapshot of any window while writing script in qtp..

Answer / tvsramakrishnachowdary

ObjectHeirarchy.capturebitmap "path of the file to be
saved",true/false

true=for overwritting
false=it create new file if that file already existed it
shows an error that file already existed

Is This Answer Correct ?    0 Yes 2 No

How to capture a window in qtp or how to take snapshot of any window while writing script in qtp..

Answer / naaz

Select Tools > Options > Active Screen.

There are several options. You can select them and get the
snapshot of any window.

Is This Answer Correct ?    3 Yes 7 No

Post New Answer

More QTP Interview Questions

What is the difference between Global and Local Data Sheets?

1 Answers  


Dis advantages of XML checkpoint ?

0 Answers   Sapient,


What is meant by Pseudo Code?

5 Answers   Satyam,


Using Regular expression in Date format DD/MM/YYYY (0[1-9]|[12][0-9]|3[01])/(0[1-9]|1[12])/([0-9]{4}) in this regular expression year 0000 also accepted.I need atleast any one single digit must be nonzero value (like 0009,1000,0034)

1 Answers  


hen do start automation testing after manual testing

1 Answers   Infosys,


write script for "dropdown button having how many words? for ex.SELECT CITY is dropdown name.. find out how many cities in that?

1 Answers  


i'm using the qtp to test to vb appliction,i wanted to get the new application's title.i didn't want to use the winAPI to get it ,i 'd like to know whether a QTP function can do it. Eg: SystemUtil.Run "C:\Program Files\.....","","","" 'run an application, and misure the application is activating,then how to get the hwn wihtout using windowns api

0 Answers  


Can we access the java methods in qtp. Because my requirement is to access the swt(for eclipse an it is java code) methods in qtp is it possible?

0 Answers  


What processes will be required to manage updates to the web site's content, and what are the requirements for maintaining, tracking, and controlling page content, graphics, links, etc.?

0 Answers  


what is the diff between Procedure and function

3 Answers   iFlex,


How to do the Mouse Operations in QTP. How to aacess an Image in a web application to save it on my desktop. To my Knwoledge that can be done by mouse right click on the Image and selecting 'Save the Image'option. Or Is there any alternate way to do this..

1 Answers  


How to Install QTP on Citrix Environment? Possible send me the installation steps.. That would be great help

1 Answers  


Categories