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


Please Help Members By Posting Answers For Below Questions

Hai anyone please "Explain about Framework in QTP?"

1628


How can you pass value one action to another action?

557


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

2169


What are the different types of recording modes?

542


What is expert view in qtp?

592






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))

1673


How to associate shared object repository to test in qtp?

507


The hybrid framework can be implemented for any application. Is it true?

591


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?

1508


Any body have QTP 9.5 licence key. please provide me at madhukar_dec30@yahoo.co.in

1603


How to carry out bit map check points in QTP

1770


What is the extension of the recovery scenario file in qtp?

548


How many types of Automation frameworks are there in UFT? Describe them.

562


Can we create user defined functions in qtp?

561


how can i sent QTP results to the Html, notefile ,xl file give me the code using g mail login page

1829