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
What is contained in the object repository?
How many types of run modes are there in qtp?
Can we record using all the modes in a single script? Explanation with example is appreciated
can anyone tell me from where i can download qtp demo or crack version
How will you compare keyword and expert view?
How should I click on the right click menu objects When I trying to add the object properties to the OR.It is showing only Window(Window).Not all the objects of the window. Also while recording I found No script. How to solve this>.
What is the difference between per-action and shared?
What are the main differences of qtp and win runner?
How to remove associated function library?
what is the difference between modular framework & datadriven framework
Is virtual object supported in low level recording mode?
Is it possible to change the values of analog recording?
What are the views available in quicktest professional (qtp)?
Without integrating QC/Testdirector with QTP, is it possible to keep track of the defects?If yes how? How to export QTP results to an excel sheet?
What is regular expression?