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


Please Help Members By Posting Answers For Below Questions

What is the default object synchronization timeout in qtp?

919


if anyone has idea of the interview procedure in covansys, plz send me a mail?

1742


How does qtp identify gui object?

785


Can any one tell me.......How the test engg's start testing in the compy environment.....real time tester PLSSSS help me i need in depth information regarding this...

1746


What are the technologies supported by qtp?

763


I am a new tester that needs to create an automatic script involving security questions. On a webpage I need to select a security question(which are random) from a drop down menu, and then input the answer as the last word from the security question. I have the script set-up to automatically select the first security question from the drop down. The problem I am having is trying to insert the security answer. How do I insert the security answer based on the selection from the security question?

2090


What are the different types of checkpoints?

809


How will you check that your test cases covered all the requirements?

801


How many types of run modes are there in qtp?

810


what is command for executing files?

1737


How do you synchronization point through DP?

812


Is it possible to use two instances of UFT on the same machine? If not why?

844


when I was doing the web testing with QTP using with standard checkpoint the Object selection -checkpoint properties dialog box not displaying pages and links hierarchical order. Could you please tell me. thanks

1994


What are the Test design techniques you uses in ur project?

1718


Explain how Does Run time data (Parameterization) is handled in QTP?

781