Saturday, 10 August 2013

How to Delete Content/file in QTP

Use DeleteFile() method to delete a file from a particular location
For Example:
file_location = "C:\file_location"
Set fso = CreateObject(“Scripting.FileSystemObject”)
fso.DeleteFile(file_location)

No comments:

Post a Comment