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 |
Explain the difference between data driven testing and parameterization ?
what is actually contain test report? can anybody post the test report
what is the purpose of SetTOProperty Method?
1 Answers Cap Gemini, iGate, Wipro,
suppose i have one datatable in my datatable in 2 nd row 3rd column one link is ther i need to validate that link how do u do this?(wipro)
How to handle dynamic objects in QTP?
how to change the properties of object during run time . plz give the code using flight reservation
What type of VB script u had done in expert view?
What do you to script when objects are removed from application?
How to retrieve particular cell data in excel sheet ?without importing method.
How to add a page checkpoint to your test?
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
can any body tell me how i create a simple script and apply output value on it .pls send me a step by step process