0 votes
in QuickTest Professional (QTP) by
Explain how you can delete excel file in QTP?

1 Answer

0 votes
by

To delete excel file in QTP,

Set fo = createobject(“Scripting.filesystemobject”)

fo.deletefile(“C:\xyz.xlsx”)

Set fo=nothing

...