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
Hai anyone please "Explain about Framework in QTP?"
How can you pass value one action to another action?
Want to verify notepad reports using QTP framework or any other BV script method. Can anyone share the method to achieve it? Eg. Person Name is the header and the actual name is John then how can we verify weather person name is John
What are the different types of recording modes?
What is expert view in qtp?
How do you handle multiple banners(at the top the page, the banner is scrolling) in a web page(Dont take the name property(regular expression))
How to associate shared object repository to test in qtp?
The hybrid framework can be implemented for any application. Is it true?
How do you test the text displayed in the header portion of times of india epaper. Hot news(banner) are scrolling in the top of the page, how do you test using QTP?
Any body have QTP 9.5 licence key. please provide me at madhukar_dec30@yahoo.co.in
How to carry out bit map check points in QTP
What is the extension of the recovery scenario file in qtp?
How many types of Automation frameworks are there in UFT? Describe them.
Can we create user defined functions in qtp?
how can i sent QTP results to the Html, notefile ,xl file give me the code using g mail login page