Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 file extension of the code file in qtp?

930


ACTUALLY I AM WORKING IN THE DISTRIBUTION DOMAIN.MY COMPANY IS PROVIDING DISTRIBUTION SOFTWARE FOR PHARMA AND FMCG DISTRIBUTORS.HERE I AM USING QTP 9.2.HERE IN MY APPLICATION WHILE RECORDING ONE WINDOW APPEARS.IN THAT I CAN SELECT THE ITEM OR NO NEED TO SELECT.BUT WHILE RUNNING THE SAME SCRIPT THE WINDOW MAY NOT APPEAR OR APPEAR.HOW TO WRITE SCRIPT FOR THIS

1913


What is the extension of the recovery scenario file in qtp?

941


Can you brief the hurdles you faced during Automation testing?

985


How do you send email with attachment from outlook using qtp ?

964


Explain the concept of how quicktest professional identifies object?

920


How can I check if a environment variable exist or not?

981


Can an action have 2 shared object repositories associated with them? In that case, if two of them contain the same object, which one will be considered?

1030


Hi ,Can any one pleas explain how to test splash objects using QTP?

2313


please post the interview questions for QA position in FACTSET

4393


what is the difference btn risks & Therads in the Test plan documentation?

2066


Define virtual object?

1076


What is Associate Repository in QTP 9.2 ?

968


Write a script to customize the test results in PDF and HTML format.

2504


How to import a test case present in ".xls" file to TD under a Test set?

1178