Explain about opening notepad in QTP and writing of test
result in notepad?
Answer Posted / ajreddy
set fso = createobject("scripting.filesytemobject")
file_path = "c:\ajreddy.txt"
set notepad = fso.createtextfile(file_path,forwriting)
notepad.writeline "hi ajreddy"
notepad.writeline "this is created on "& now
notepad.close
set notepad = fso.opentextfile(file_path,forreading)
for notepad.atendofstream
n = notepad.readline
msgbox n
Next
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
what is the difference between rational rose and QTP? WHICH TOOL IS BETTER TO LEARN? PLEASE SEND ME AT sana_50218@yahoo.com sandeep@epuratech.com
what is the difference betn QTP 8.0 AND PREVIOUS VERSION
What are the methods of the TextStream object that are used for reading from a text file?
any body can you help me what is the script to automate an comand promt
Can we record using all the modes in a single script? Explanation with example is appreciated
How do you compare the structure of 2 tables in database and check whether they are similar using qtp.
What is recovery scenario manager? When you go for recovery scenario manager? Tell me one scenario were your used recovery scenario in your project?
How many ways is to parameterize the value?
How to run an integrated test scenario using Multiple Actions? How to use the QTP Step Generator?
Dear Friends, I having total 3+year experience in manual testing including automation testing QTP, if i am attending any interview what kind of question will i get? please help me out
This is a question thats generally asked in every QTP interview. What were the problems that you faced during automation and how did you resolve them?
What is the difference between call to existing action and copy of an action?
Hi All, I have QTP installed on my machine but the application under test is on remote machine. I need to automate the scenarios which consist of automatically enter the remote machine through IP address ,record the application in remote machine and run it also when played. Can some one tell how to record the application in remote machine.
For QTP Test Engineer, What is his contribution to the Project? Means, As as automation test engineer what is his role in the current project?
can any one please tell me which is the best institute in Bangalore to learn QA (crash course)? Thanks