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

Synchronization methods?

8 Answers   Ordain Solutions,


Describe function procedure in vbscript.

0 Answers  


In Descriptive programing if i use this below code will it work for login window or flight Res Window. Shud i add the properties like attached text=login and text=Agent Name in the object repository and define a new object first. Pls tell me the procedure in clear inorder to execute this script. Dialog("title:=Login").WinEdit("attached text:=Agent Name:").set"agent123" Dialog("title:=Login").WinEdit("attached text:=Password:").set"mercury" Dialog("attached text:=Login").winbutton("text:=OK").click

2 Answers  


is there any addin for remedy user application

0 Answers  


Can any body please tell me the steps of keyword driven frame work in qtp. My mail is saswat445@gmail.com please send some materials on keyword driven testing in qtp. thanks a lot...

0 Answers  






Analyzing the Checkpoint results ?

1 Answers   Crea,


Explain about opening notepad in QTP and writing of test result in notepad?

4 Answers  


How will you test a keyboard?

0 Answers  


what is meant by function library?Public and private functions in function library? if private functions are applicable for only for the particular test means then y we have to add those to function library?

0 Answers  


How can I open a EXCEL file from QTP Resultviewer with reporter.ReportEvent function call. Example: Test files for details click "here". And clicking "Here" in the resultviewer will open a local EXCEL FILE.

0 Answers   ING,


What is the QTP test frame work?

3 Answers   IBM,


Hi,Every one,my name is RAHUL,aim wondering if any one got QTP software? If yes,can u plz knock on to gchinthakindhi@gmail/yahoo.com. THANK U.

2 Answers  


Categories