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
In QTP can we feed the out of one browser(internet explorer) as an input to the another browser(mozilla firefox)? If yes explain how to do it with an example.
What is difference between design time and run time data table?
What are the different types of recording modes?
Explain hybrid framework with advantages and disadvantages?
How to use debug tools?
Explain different type of event trigger option.
What are the types of object repository in qtp?
An action has both shared and local OR associated with it and both have the same object in them. In the test which one will be considered?
How to Test the mainframe application?
How do you check ticket cost and ticket number in flight application?
what is clean sweep?
Why is Client side image is preferred over server side image?
Both static and dynamic arrays are handled by the vb script. Is it true?
Can anyone pls tell me how to do action parameterization (input and output parameters) with respect to login window and insert order of flight reservation window in detail( pls give a clear step by step explanation with example) anyone please. Will be very thankful to u
Hi friends I need to know about jubula automation tool. Is anybody know in bangalore where jubula tanning class is going on do let me know. Its urgent for me to learn that tool please help.