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 / arun
sline="Hello"
Set fso = CreateObject("Scripting.FileSystemObject")
Set CreateFile = fso.CreateTextFile("c:\x1.txt",True)
CreateFile.close
Set OpenFile = fso.OpenTextFile("c:\x1.txt",8,True)
OpenFile.Writeline sline
OpenFile.Close
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
how to know no.of mails in our g mail by using vb-script
They asked by using qtp recording writing scripting
What are the types of object repositories? Which one is you are using?
how can i call function (which has link with excell sheet at a remote location) within another function
Explain about Test Fusion Report of QTP?
what is the difference between data driver & data driven and driver script?
What is QTP scenario.
how to compare two bitmaps( 1. clients requirement & 2. Designed by dev) in qtp 8.2 wann clear steps
How to Test the mainframe application?
What is difference between design time and run time data table?
Explain qtp(quick test professional)?
Hi, I am supposed to automate mainframe application through qtp. I do not know how to start abt it. Can you plz help me in first initializing the process or do you anybody have a guide book or a link which guides me through the process of automating the mainframe applications and things involved in it.
What is text check point and text area check point?
how do i know how to use tools
How will you check that your test cases covered all the requirements?