Example -
Below Code will create a text file in QTP
Below Code will create a text file in QTP
Set fso = CreateObject("Scripting.FileSystemObject") Set MyFile = fso.CreateTextFile("d:\mytestfile.txt", True) MyFile.WriteLine("This is my test.") MyFile.CloseThis is how we can create a text file in QTP.
No comments:
Post a Comment
Please Leave your reply. We value your feedback and inputs