Dear Friends,,,Kindly clarify my doubts... 1) How can i Save the snapshots in a specified folders using Scripting in QTP?Kindly help me out...RegardsIndu

Showing Answers 1 - 3 of 3 Answers

KodumuruRamesh

  • Oct 26th, 2006
 

Hi

   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 

For more information contact:

kodumururamesh@yahoo.co.in

                

  Was this answer useful?  Yes

raghu

  • Jan 3rd, 2007
 

You can create a folder in runtime using VBScript and save active screens in that folder

Set fol=createobject("scripting.filesystemobject")

Set myfol=fol.createfolder("c:raghu")

 

<object hierarchy>.capturebitmap("c:raghupic.bmp") 

  Was this answer useful?  Yes

Pratika

  • Jul 8th, 2016
 

How to write a vbscript program to download 5 files from application1 and upload those 5 files in application2 using QTP/UFT?
Having below constraints:
1. All 5 files have the same name.(Ex:"abc")
2. Uploading of files in application2 must be in the same order in which the files have downloaded.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions