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 ARE THE SHORTCUT KEYS IN QTP?

4 Answers   TCS,


Can you give me the code to calculate the total number of Links using the child object in the web page..? is there any other way to calculate number of links with out using the Child objects.??

2 Answers   DST Global Solutions,


WHAT IS THE FUNCTION (HOW TO DO) THE BATCH TESTING IN TEST DIRECTOR USING MANUAL TESTING PROCEDURE?

1 Answers   CTS,


can any one tell me the script to click on a button in the wintoolbar.

1 Answers  


Can we Script any test case with out having Object repository? or Using Object Repository is a must

3 Answers   Crea,






What are the limitations in using Virtual objects?

1 Answers   ITC Infotech,


what is the diff b/w assistive and mandatary rules of object repository in QTP???

0 Answers  


what is supply chain management?

0 Answers   ITC Infotech,


How to load a object repository in QTP during runtime?

2 Answers   BNP Paribas, Virtusa,


How Can I automate PDF forms using QTP9.2 ?

0 Answers  


what is the framework followed by ur company in qtp

5 Answers   Ordain Solutions,


Explain the Keyword View ?

2 Answers   Crea,


Categories