please clarify the question .................
i know how to open the notepad file ?
but i don't know how to enter the data into opened notepad ?
Ex: set a=createobject("wscript.shell")
a.run "Notepad.exe"
please give the replay.
my mail id is raju.ippali@gmial.com, 9823257761
Answer Posted / m.s.patil
Dim fso,filepath
Set fso =CreateObject("Scripting.FileSystemObject")
Set filePath =fso.CreateTextFile("C:\mpatil3.txt")
filePath.WriteLine ("This is sample code")
filepath.Close
Set fso =Nothing
I have tested this and it works fine.
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Shall we add Local Repository to shared object repository,if yes,how we add
I want to configure the OR and library files to a particular QTP test during run time. Note: OR and Library files are located in Quality Center. Is it possible in QTP? Anybody having code?
what is the difference between the modular framework and datadriven frame work
what is the difference betn QTP 8.0 AND PREVIOUS VERSION
What are private functions in QTP? How they can be called from the function library?
What is recovery scenario in qtp?
PLEASE TELL ME WHEN DO YOU USE THE OBJECT SPY AT RUN TIME
how can i pass a "cript"as a parameter in to a function
how to test use the quality control .how to verify the image verification
Explain how you can replace string in qtp?
Explain different checkpoints in qtp.
What are the properties you would use for identifying a browser and page when using descriptive programming?
Which functionalities of QTP used in banking project? pls any say answer?
After executing the script in qtp suppose i found some script execute successfully and found some error.So how to report the status for both (i.e pass and fail report)in test director. For "fail" We use "defect tab" in testdirector. But for "pass" how to report it to TL.what is the process plz anybody ans
What is the keyword view and expert view in qtp?