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

Related questions

+1 vote
asked Apr 13, 2020 in QuickTest Professional (QTP) by rajeshsharma
0 votes
asked Apr 25, 2020 in QuickTest Professional (QTP) by Robindeniel
...