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

how do u import the test cases written in excel sheet to qtp? and how do u generate the script in qtp for the testcase in excel sheet? plzzzz do answer this question thanks in advance

4 Answers  


how to generate numbers in between to numbers suppose numbers in between 500 to 1000 in sequencies using vbscript

1 Answers  


Please let know the scripts for counting number of repeated letters in the word. Note repeated letter should not be count agian. Ex: If "Hello" is my word... l is coming twice.. it should count once and print... secong 'l' should not count again..

5 Answers  


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  


How you test the object which is dynamically changes its location?

7 Answers   Wipro,






What is text/text area checkpoint?

0 Answers  


how to call multiple scripts in QTP at a time

3 Answers   IBM,


wat are views in qtp explain

3 Answers   IGT,


can u pls explain me About Driver script.

4 Answers  


what is the difference between link and hyper link?

1 Answers   Ordain Solutions,


what is the defference between QTP 8.2 and 9.0and 9.2? plz tell me

6 Answers  


Which object model ur used in ur project

2 Answers   Cap Gemini,


Categories