Answer Posted / sailaja
The above code is giving error at for loop
Dim fso,notepad
set fso = createobject("scripting.filesystemobject")
file_path = "c:\nandu.txt"
'forwriting =2
'forreading = 1
set notepad = fso.createtextfile(file_path,1)
notepad.writeline "this is created by Nanda"
notepad.writeline"this is created on "
set notepad = fso.opentextfile(file_path,1)
Do
n = notepad.readline
msgbox n
Loop until ( notepad.atendofstream=true)
This will work fine.
Thank you
Sailaja
Is This Answer Correct ? | 0 Yes | 8 No |
Post New Answer View All Answers
How can I use Call dlls in QTP ?
What are the types of object repository?
what is the difference between rational rose and QTP? WHICH TOOL IS BETTER TO LEARN? PLEASE SEND ME AT sana_50218@yahoo.com sandeep@epuratech.com
What is the use of sendkeys and what are send keys
What are the different types of recovery operation?
What is an expert view and keyword view?
How to use the object spy in quicktest professional (qtp) 8.0 version?
How to use debug tools?
can the activities of test case design be automated?
What are the different recording modes?
Is qtp supports uni-code?
Can any give an example(if possible templates) how to test web application using QTP. thanks in advance
can any one say that where we can download the QTP trail version ??????????
What is test object?
Which functionalities of QTP used in banking project? pls any say answer?