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
What are the two types of repositories available, explain them?
Explain Descriptive Programming Types with Examples?
How do you create new test sets in td?
Why is Client side image is preferred over server side image?
Define object spy ?
after initiating one project for testing, when exacltly QTP tester role starts?
Describe function procedure in vbscript.
How software tester can use constants and variables in scripts?
Can any one tell me how to write a script for selecting open option in File menu of A word document.here you have to add objects to OR.try like that and give me the ans.i asked this question to so many but no one knows.if any one know the answer plz let me know
Does Low-level recording capture mouse movements?
What are the check points can be inserted without recording?
which type of testing process are you following in ur company? how to recognize a qtp page?
In qtp is it possible to check broken links of a page?
How will internal and external links be validated and updated? how often?
How to create scenario selector