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 / vibhav srivastav

I thik This Code will Work

set a=createobject("wscript.shell")
a.run "Notepad.exe"
Set Obj = Window("regexpwndtitle:= Notepad").WinEditor
("nativeclass:= Edit")
Obj.Click
a.Sendkeys "I Love QTP"

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the registration process and examination fees?

637


Why is action split used by qtp?

647


Explain about business process component? types and usage?

1650


How many tabs are available to view your test in a test pane and what are they?

677


How many add-ins comes by default with qtp?

626






What is recovery scenario manager? When you go for recovery scenario manager?

669


what type of framework u r using in ur organization

1739


How did you use regular expressions in QTP and also in WR?

2279


What is the difference between qtp and selenium?

630


Have you done batch testing in qtp? If yes how you are doing?

594


diff between qtp versions from 8.5

1646


Is it possible to call win runner script in qtp?

724


How to execute a winrunner script in quicktest professional?

650


give me the code to save all messages of inbox of gmail into a folder and notepad

1716


How to start recording using quicktest professional?

706