Example -
Below Code will delete Excel file in QTP.
Set fso = CreateObject("Scripting.FileSystemObject")
fso.DeleteFile("c:\myfile.xlsx")
Set fso = Nothing
This is how we can delete the excel file in QTP.
Below Code will delete Excel file in QTP.
Set fso = CreateObject("Scripting.FileSystemObject")
fso.DeleteFile("c:\myfile.xlsx")
Set fso = Nothing
This is how we can delete the excel file in QTP.
No comments:
Post a Comment
Please Leave your reply. We value your feedback and inputs