How can i Save the snapshots in a specified folders

using Scripting in QTP?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Have you faced any problems with object repository?

592


Is there anyway to automatically update the Datasource name in Database Checkpoints object when we migrate tests to a new release?

3271


What is an expert view and keyword view?

572


What is parameter in qtp?

680


How to Test the mainframe application?

1822






Have you used xml check point in your project? How?

549


Which environments are supported by hp qtp?

598


Hi,All How to create a link in excel sheet using qtp

3003


How to write business scripts using object repository with different scenarios

1388


How to sendKeys in QTP? Diff b/w sendkeys and device replay? Diff b/w function and Sub? Diff b/w Array and List Different Types of running Keys other than Fast, slow,Normal mode Regular expression for http://newtours.demoaut.com Difference between \w and \W How to generate script button Recording Types Different Types of Actions? Using DP performance degrades, If Yes why? How to close all the opened browsers? Diff b/w SystemUtil.Run and invoke application? If qtp not recognized the combo box How to select values from drop down?

3501


How many ways we can parameterize data in quicktest professional (qtp)?

585


Hi all Can u give me the link where we can download full version of qtp my mail id is karthic.venkitapathi@gmail.com

1351


Hi Samrat, Thank u very much, what u said it is right.

1347


What is an object repository?

610


Could you please any one give code for the following ? Scenario : Suppose a excel file contains 10 records and earch have 5 fields. how can i input this excel file for datadrive wizard ? Please explain

1464