How can i Save the snapshots in a specified folders

using Scripting in QTP?



How can i Save the snapshots in a specified folders using Scripting in QTP?..

Answer / sreeprasad

We can save the Snapshot in particular folder or location

by using CaputureBitmap.

Syntax:

Object.CaptureBitmap "C:desktopramesh.bmp",true

we can use 2 format (1) .BMP format (2) .png format

& True or False is optional

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More QTP Interview Questions

Explain about random testing of 500 test cases?

1 Answers   IBM,


Is it possible to change the values of analog recording?

0 Answers  


Is it possible to refer the same object for referring more than one object that are of different class using the descriptive programming approach? Suppose my code is 'To create the object named as obj Set obj=Description.Create() 'To define the values obj("title").value="IE" obj("type").value="text" obj("html tag").value="INPUT" 'To set the value Browser("IE").Page("Yahoo").WebEdit(obj).Set "xyz" Can I refer the "obj" object for the three objects like Browser,page and webedit objects? If so how?

0 Answers  


how we connect oracle or sql data server database to qtp.

4 Answers   TCS,


How to give Table check points?

4 Answers   ssinformatics,


I have developed and executed a script successfully, and saved the same to QC. When I tried to execute the script from QC, the script is not executing. What are the possible reasons?”

0 Answers  


What are the advantages of Object Repository?

0 Answers  


in QTP,how to write a descriptive program for "yahoo" or "gmail" Login page

1 Answers  


What is Reusable component is QTP...Anybody can answer it..Thanks in advance...

8 Answers   Siemens,


write a VBscript code to parametrize test script using test data from sqlserver database?

2 Answers   IBM, Polaris,


i need qtp tutorial. pls send it to sridhar.k151@g mail.com

0 Answers  


How do u write a regular expression for date (dd/mm/yyyy) field ?

4 Answers   Semantic Space,


Categories