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
Explain the check points in quicktest professional (qtp)?
How to integrate the qualitycenter with qtp
What are the different types of action?
What is difference in global and action sheet in qtp?
What are the types of object repositories? Which one is you using?
Mention the different actions types of qtp.
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
Explain xml checkpoints.
What is recovery scenario in qtp?
How to use transactions in qtp?
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What's the difference between them? How to handle script issues?
How we can use the database checkpoint on a java web based application in which the database connectivity is done using JDBC->Pure Java type (in this type there is no need to create a DSN). At present in QTP we can fetch database values using checkpoint only through DSN. Is there any programming for this if we don't have DSN (ODBC)
what is the difference between built-i function and In-built function?
what is supply chain management?
What test you perform mostly? Regression or retesting in your testing process?