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 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?
I want to grow as a Automation Engineer,Kindly help me in clearing my interview that what interviewer looks for as a Automation Engineer. I am having three years of experience in testing.
How to export quicktest professional results to an .xls file?
what is command for executing files?
Could i know how how to explain keyword driven framework in interview? If any body knows plz send the explanation.
what is the difference btn risks & Therads in the Test plan documentation?
hi Friends ,willany body tell me what is the Scope for the automation Testing inht Future is their Or not And what is the Top Most Level in the testing section according the Pay scale
How to modify the text checkpoint?
Differences between quicktest professional (qtp) and winrunner?
how to do the batch testing in test director using manual testing procedure?
hi to all, i need a code.. in flight application 1.i need to login first then i need to insert 3 new orders... 2.i have to log out 3.i have to login again with different user 4.need to insert 2 new orders 5.then need to log out 6.then again login with different user 7.3 new orders create and log out 8.but we hv to do this using data table and actions please help me
give me the code to save all messages of inbox of gmail into a folder and notepad
what is clean sweep?
what is the difference between IE & Netscape in web testing on a log in page
what type of automation is follwed in the project?