What is the use of sendkeys.In which cases we Use this
sendkey.Pls explain with example.
Answers were Sorted based on User's Feedback
Answer / pranitha
Sends one or more keystrokes to the active window (as if
typed on the keyboard).
syntax:object.SendKeys(string)
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / jayesh
Basicaly it is used to send the direct keyboard input to
forms windows, generally Enter Esc keys can also count
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / 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 |
What is the difference between functional spec. and Business requirement specification?
WHAT IS THE USE OF "FUNCTION GENERATOR" IN QTP?
tell me types of environment variables? what r they? explain details? pls give anwer any one?
Could any one tell me "How can i recognize my cursor position using QTP 9.2" Give me a scripts for this
What is the regular expression for Yahoo mail Inbox?
How to open a new test using quicktest professional?
IN EXCEL SHEET OF qtp SUPPOSE I ENTERED 10 NUMBERS RANDOMLY I HAVE TO GET TOTAL OF TEN NUMBERS IN THE 11 COLUMN USING qtp GIVE CODE TO IT USING qtp
How to manage a drag drop event in the qtp
Is QTP Supports SWT applications? If yes, can you write a sample script for opening a new package in eclipse.
what is the frame work your using in automation testing
What is SQL injection?
How to capture the Check point Value into a variable?