QTP Script To Delete File From Particular Location

QTP Script to delete particular file from particular location.

Set f = CreateObject("Scripting.FileSystemObject")

f.DeleteFile("D:\file1.txt")

The Above Script will remove(delete)notepad naming file1(text file)from D drive.

QTP Script To Create File

Data Driven Testing Using Notepad

No comments:

Related Posts Plugin for WordPress, Blogger...

Fun and Knowledge