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 / sri satya

Dim a,b
Set a= CreateObject("Scripting.FileSystemObject")
Set b= a.CreateTextFile("c:\Test.txt")
b.Writeline("Hi Welcome To QTP")

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does QTP record on Objects created on XWindows Environment?

1767


which type of testing process are you following in ur company? how to recognize a qtp page?

1497


Both static and dynamic arrays are handled by the vb script. Is it true?

664


How do you configure QTP AND Test director?

1594


I have many listboxes in my application. I have to check whether the contents inside the listboxes are in sorted order or not..can anyone please send the code as early as possible

1551






terminal services client

1893


If an application name changes frequently i.e while recording it has the name, in this case, how do qtp handles?

677


How reliable are the site's Internet connections required to be? And how does that affect backup system or redundant connection requirements and testing?

803


i have doubt suppose iam purly working in QTP, when i will work on sql and performence testing? pls any one clarify doubt?

1622


what is run action?

1510


how did u use automating testing tools in ur job?

1574


Hai anyone please "Explain about Framework in QTP?"

1721


What is meant by Output Value in UFT?

643


Explain hybrid framework with advantages and disadvantages?

633


What are the two types of repositories available, explain them?

673