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
how to download mercury qtp9.2 ny internet ?
What is text check point and text area check point?
What are the Disadvantages of shared object repository?
What is fragmentation and paging?
PLEASE TELL ME WHEN DO YOU USE THE OBJECT SPY AT RUN TIME
Is QTP supports Unix. If yes, then how the test automation is done?
I have written a code to fetch values fro access db and place in the fields. Iam using GetROProperty to fetch runtime values. Now i want to add runtime values to the access db in field v3. please help me. Its not writting in the db. Option explicit Dim con,rs,db,c Set con=createobject("adodb.connection") Set rs=createobject("adodb.recordset") con.Open "Driver={Microsoft Access Driver (*.mdb)};dbq=D:\Sales.mdb" rs.open "select * from tax",con Do while not rs.eof Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("incost").Set rs.fields("v1") Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("intax").Set rs.fields("v2") c=Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("outtax").GetROProperty("value") rs.MoveNext print c Loop Do while not rs.EOF rs.EditMode rs.Fields("v3").Value="3" rs.Update rs.MoveNext Loop Set rs=nothing Set con=nothing
How to use Environment parameterization? Explain with an example.
Explain the check points in quicktest professional (qtp)?
If I am scripting Web-based Surveys using QTP that open up differently but at the exact same point require a username and password can I automate that username and password for all the surveys some how using QTP?
Explain measuring transaction.
In qtp, explain what is keyword driven automation framework?
I am Facing Issues with learing datepicker 1)when i first learn datepicker as current system date . 2)if i wanna runtime datepicker value it gives error
What are the views available in quicktest professional (qtp)?
What are the common defects found in your project? (in qtp interview)