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
How to replay a script in qtp?
What is TOM in QTP?
How you know that a test case is a regression test case
What do you mean by checkpoints in qtp?
How to Open FireFox using descriptive programing? If my question is not clear, i will give an Example To Open Internet Explorer, We use Set IE = CreateObject(InternetExplorer.Application) IE.Navigate "www.yahoo.com In the same i need to open yahoo.com in firefox. Can any one tell me what is the server name of firefox to create an object
What is method name to compare two XML files.
What is expert view and keyword view?
What is the diff between image and bitmap check point?
What is the file extension of the code file in qtp?
Explain how you can find length of array in qtp?
what is command for executing files?
what is the frame work in J-meter?
What is checkpoints for quicktest professional?
What are some test assets and related extensions of qtp?
Which advantages helping QTP to hold the position of "Market Leader" for such a long period?