Answer Posted / smitha
correct code
const ForReading = 1, ForWriting = 2
Dim fso, MyFile
Set fso = CreateObject("Scripting.FileSystemObject")
Set MyFile = fso.OpenTextFile("D:\New
Folder\somefile.txt",ForWriting, True)
MyFile.WriteLine "Hello world!"
MyFile.WriteLine "The quick brown fox"
MyFile.Close
Set MyFile = fso.OpenTextFile("D:\New
Folder\somefile.txt",ForReading)
ReadLineTextFile = MyFile.ReadLine ' Returns "Hello world!"
MyFile.ReadLine
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
Does quicktest professional is unicode compatible?
How to find operating system information using the qtp script?
Why is Client side image is preferred over server side image?
What are the differences between quicktest professional (qtp) and winrunner?
when to start the automation?
What is data driver in qtp?
What is the extension of the qtp local repository?
Will down time for server and content maintenance/upgrades be allowed? how much?
What are the different types of recording modes?
Hi, I'm a beginner in QTP and planning of a certification in QTP, but have no idea about it :P. Could anyone please tell me what certifications that a QTP- beginner can take? What is the fees and the syllabus for the certification? Please reply soon. Thanks Vidhya
Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.
how will you load the test cases in ddt?
What are the features supported by UFT?
What is action split and the purpose of using this in qtp?
Hi any body pls help me for QTP 11.0 software free demo version. i have to practice. Kindly send the link.or where i have to download.