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 do you capture tooltip using QTP?
Hi All, How to Compare two strings character by character in QTP
How do know the number of browsers opened?
Explain how you can find the absolute value of the number in qtp?
I want to write some certification courses, so friends could you guide me? which certification is best and how to write exam and what tutorials need to be studied,what to do first, I am working on automation tool QTP 9.2
what is the latest version of QTP? Main difference between 9.2 and 10 version
How many tabs are available to view your test in a test pane and what are they?
what QTP Options do you know?
How to recognise the webelement and verifying that webelement is enabled?
action contains public and private functions but do we resuable that action or not..If it is reusable How..plz tell me the ans
What is the difference between qtp and selenium?
Explain the concept of how quicktest professional (qtp) identifies object?
How to Test the mainframe application?
what is actually contain test report? can anybody post the test report
Will down time for server and content maintenance/upgrades be allowed? how much?