OPening of notedpad in QTP to write and execute the coding?
Answer Posted / nanda
set fso = createobject("scripting.filesytemobject")
file_path = "c:\nanda.txt"
forwriting =2
forreading = 1
set notepad = fso.createtextfile(file_path,forwriting)
notepad.writeline "this is created by Nanda"
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
this script will create a notepad and write data and read
data in that file.
If any queries...
nanda.dreddy@gmail.com
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Have you used xml check point in your project? How?
what is meant by function library?Public and private functions in function library? if private functions are applicable for only for the particular test means then y we have to add those to function library?
The hybrid framework can be implemented for any application. Is it true?
Name the different types of recording modes?
What is test object model in quicktest professional?
How to capture dynamic values in load runner and how Each of the captured values are to be written to a text file (c:\temp\LoadRunner1.txt)
If I change the object name in one action will it be updated in all the actions? Or not?
Explain features of the latest version of qtp/ uft 12.1?
How many types of recording facility are available in quicktest professional?
I am sathish , i want to test the Application of JIL.org ,Mobile Emulator ,by using QTP10.0. I am trying to do testing on that Application , but Child Objects are not identified by the QTP. Please can any one help me
What is the virtual object?
what is error and fault in terms of software quality?
i need code for how to click on particular mail in utlook mail box .its urjent Thank You Balaji
PLEASE TELL ME WHEN DO YOU USE THE OBJECT SPY AT RUN TIME
could any help me please, how to work on visual foxpro application using UFT