Answer Posted / rdshet
Hi,
Set fso = CreateObject("Scripting.FilesyStemObject")
Set fil = fso.CreateTextFile("D:\test.txt", TRUE)
fil.writeline "this is text 1 " ' Writing
fil.writeline "this is text 2 "
fil.writeline "this is text 3 "
fil.close
IF fso.FileExists("D:\test.txt") =TRUE Then
Set fil1 =fso.OpenTextFile ("D:\test.txt",1)
DO WHILE NOT fil1.atendofstream
flread = fil1.ReadLine 'Reading
msgbox flread
LOOP
flread.close
Set flread = NOTHING
END IF
Set fil = NOTHING
Set fso = NOTHING
Regds
Raghavendra
Please correct me if am wrong.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
can any boby tell me what is method or steps to connect the remote desk top by using QTP 9.2 version?
What is the difference between a Function and Procedure in QTP?
Suppose you are using shared objects repository in your test and you want to split your present action? At that time shared object repository is single or it’s also splits?
Please provide specific examples of advanced/creative usage of QTP, including how impact & benefits for your project
Explain sub procedure of vbscript.
What is object repository in qtp?
can any one please tell me which is the best institute in Bangalore to learn QA (crash course)? Thanks
how can i pass a "automation script" as a parameter in a function give me need full suggestion thank inadvance
hi can anybody help with an qtp 9.2 license key please. Thanks, Nitesh.
Does QTP record on Objects created on XWindows Environment?
Explain the Different types of QTP test assets and their extensions?
What are the differences between table and db checkpoints?
Consider one application is open, clicking one menu will open another application in another browser. QTP does not catch the URL of the second browser(second application). can we capture it ?
What are the different types of functions available in qtp and explain ?
How should I click on the right click menu objects When I trying to add the object properties to the OR.It is showing only Window(Window).Not all the objects of the window. Also while recording I found No script. How to solve this>.