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
What is the default object synchronization timeout in qtp?
if anyone has idea of the interview procedure in covansys, plz send me a mail?
How does qtp identify gui object?
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...
What are the technologies supported by qtp?
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?
What are the different types of checkpoints?
How will you check that your test cases covered all the requirements?
How many types of run modes are there in qtp?
what is command for executing files?
How do you synchronization point through DP?
Is it possible to use two instances of UFT on the same machine? If not why?
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
What are the Test design techniques you uses in ur project?
Explain how Does Run time data (Parameterization) is handled in QTP?