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
What is the file extension of the code file in qtp?
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
What is the extension of the recovery scenario file in qtp?
Can you brief the hurdles you faced during Automation testing?
How do you send email with attachment from outlook using qtp ?
Explain the concept of how quicktest professional identifies object?
How can I check if a environment variable exist or not?
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?
Hi ,Can any one pleas explain how to test splash objects using QTP?
please post the interview questions for QA position in FACTSET
what is the difference btn risks & Therads in the Test plan documentation?
Define virtual object?
What is Associate Repository in QTP 9.2 ?
Write a script to customize the test results in PDF and HTML format.
How to import a test case present in ".xls" file to TD under a Test set?