What is the use of sendkeys.In which cases we Use this
sendkey.Pls explain with example.
Answer Posted / kishan
eg:
Browser().Page().webEdit("uname").set "kishan"
'to focus on a specific object use "Click" method
Browser().page().webedit("uname").click
'create ref to wscript.shell object
set wsh=createObject("Wscript.shell")
'to go the next field using TAB
wsh.sendkeys("{TAB}")
'to send the text "mypwd" in the next field
wsh.sendkeys("mypwd")
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the extension of qtp local repository?
can any boby tell me what is method or steps to connect the remote desk top by using QTP 9.2 version?
what is actually contain test report? can anybody post the test report
can test automation improve test effectiveness?
how to find that a file has been completely downloaded or not? I told that "download Complete" pop up. but he told the tool doesn't recognize the pop up
Connect to QC using AOM.
When I click on a link in web page.Link should open in new window.can anyone please let me know the script for this ---Koti
i am new QTP... please tell me automation frameworks , types & for whiich type of applications frameworks are used & how to generate script in keyword driven framework
Please provide specific examples of advanced/creative usage of QTP, including how impact & benefits for your project
What is a reusable action?
What is optional step in qtp? How you can add optional step in qtp?
What is the meaning Work bench?
What is the use of running the scripts in Hidden-mode in UFT?
what are the limitations of smart identification in qtp 9.0
If you have two monitors one is of 19inch and the 2nd one is of 24inch,if you want to write same QTP script in both the two monitors is there any changes required in the script?