Question - What is the code to write data to text file in UFT?
Answer -
To write data to text file in UFT code is
Content = “Rocks”
Set Fo = createobject ("Scripting.FilesystemObject")
Set f = Fo.openTextFile ("c:\myFile.txt",8,true) ' open in write mode
f.Write (contents)
f.Close
Set f = nothing