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

Tell me one scenario, the complex functionality you have automated in your project?

1479


What is reusable action?

608


What is the short cut keys for the following?

650


What is the pros and cons between QTP and Rational Robot

3286


How do you configure QTP AND Test director?

1503






Explain the types of properties that quick test learns while recording?

564


Some time when i wanna learn the object i face issue like i am not able learn the object in proper manner... eg:for text bo on web page it should learn as webedit but some times it reads as winobject:internetexpoler-server, because of this i have to uninstall the qtp and re-install it again when i do this it reads the object perfectly.....plz suggest the soln

1398


In Remote acess server how u run a test?

1291


i have doubt suppose iam purly working in QTP, when i will work on sql and performence testing? pls any one clarify doubt?

1507


What is the difference between a Function and Action in QTP?

592


can any one please tell me which is the best institute in Bangalore to learn QA (crash course)? Thanks

1527


How many types of parameters are available in quicktest professional (qtp)?

587


What will be happen if i load object repository at run time, but it has already associated.

1261


Explain the views in the QTP GUI?

623


What should we say if interviewer asks "What is ur project architecture?".......Can any one help me with clear information.?????????

1723