• +91 9723535972
  • info@interviewmaterial.com

QTP Interview Questions and Answers

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

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners