Explain about opening notepad in QTP and writing of test
result in notepad?
Answer Posted / sailaja
Hi
The above ans will error message at for loop.
This will work fine.
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)
Thank you
Sailaja
| Is This Answer Correct ? | 14 Yes | 2 No |
Post New Answer View All Answers
what is meant by source control?
Could any one tell me "How can i recognize my cursor position using QTP 9.2" Give me a scripts for this
Explain QTP using different development techniques ?
What are the common defects found in your project? (in qtp interview)
Hi am New to Automation Testing , any one can you help me what are the basic questiion are asked an interview?
1. What is the difference between Keyword and function in the keyword driven framework? 2. How do you associate Keywords to the script ?
Pls can anyone give me the entire code for the Keyword driven framework with respect to he Flight Reservation Window in detail with explanation. Pls explain in detail stepwise. Thanks a lot. Pls very urgent?.
Is there any relation between Keyword Driven Framework and Recording modes provided in QTP( whether Recording modes are applied on keyword driven framework or not?)
Where you are storing your script?
Explain quicktest professional (qtp) testing process?
Is virtual object supported in low level recording mode?
Hi, my requirement is to make a query in SQL using QTP. And i have to get the results of that query and i have to use those results for future testing. I created a driver but i dont know the code for using this Driver. please help me by providing the solution for y requorement
What kind of performance is expected on the client side (e.g., how fast should pages appear, how fast should animations, applets, etc. load and run)?
Hi this is chandra if any one have Navigation of LAB QTP, I want Navigation of those tools, if any one have the and know the Navigation each and every part of the QTP, plz send me my mail naruboinac@yahoo. com,naruboinas@ gmail.com
How the exception handling can be done using quicktest professional?