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 many types of status are there?
explain keyword driven framework with banking domain?
If I change the object name in one action will it be updated in all the actions? Or not?
What are the advantages of parameterization ?
Hi, Can anyone please tell me how to connect the QC with QTP using QTP script? Thanks in advance
Could anyone help me for the below scenario: i am using the descriptive programming for my account, in which we have to generate the contract in the MS-word. when i generate this doc, we need to click on enable macros to continue further. but i am unable to make qtp to click on this. if anybody faced the problem like this??? pls help to get it resolved? Thanks in advance
What are the different kinds of test steps?
How to creating an output value using quicktest professional?
what is stepin & stepout?
Which scripting language used by quicktest professional?
What are the flaws in water fall model and how to overcome it?
in a web page hoe to check the dynamic links that rechabging with out using regular expressions
In the website, the protocol has been changed http: to https what you will do? Tell me your approach?
What phases are involved in testing an application in qtp?
What is checking bitmaps?