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 to build scripts that access data from external sources?

0 Answers  


How to find a window is minimized or not

0 Answers  


does automation replace manual testing?

2 Answers  


Where we write the FUNCTIONS, in Expert view (or) in any textfiles like Notepad and save it in Library functions folder? How to cal that functions to our script? How to save that functions to Function generator?

3 Answers  


Where can i get the QTP tutorials. I wanna move to automation testing. Is there any book or URL, where i can find the source to read...

1 Answers  


How can we use regular expressions for a table in web page, each cell in table having unique identification, Now I want to count number of rows in table and enter data in all cells of the table?

1 Answers   CTS,


What ate the Technologies supported by QTP?

0 Answers  


why require regression testing?

2 Answers   TCS,


To retrive the test data which tool vl use and whats basis u vl write test data? its urgent

0 Answers   IBM,


what is description object?

0 Answers  


What is clean sweep?

0 Answers  


CAN WE USE 'BVA' AND 'ECP' IN AUTOMATION?

3 Answers   Polaris,


Categories