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 |
How To write script in QTP For Field Validation Example: password Field is accepting A range 8-20 characters only.How to write script?
i want to learn testing tools what i have to know before.iam fresher i dnt know any this..which langagues i have to before testing.
Can the mode of object repository be change during run time? Eg. if the mode is per-action during design time can i change it to shared and vice-versa? Any scripting possible?
How we can call the scripit from another scripit in QTP?,Not a call Action
How to Import data from a ".xls" file to Data table during Runtime.
write vbscript on veb applications in qtp with exapmles?
Create an Excel file and pass the values from Flat File? (for ex:data1.txt,data2.txt )
if there is two login button in your page, how you know that this login button is correct for login .
What is time parameter?
I am trying to install QTP 9.5 but i am getting error message saying that ("Path is \QuickTest Professional\bin\vb_init.exe") vb_init.exe file is not find. can anybody give me the advise what to do ?
How to Test Dynamic links ?
how to write xml output check point bu useing descriptive programing .means without useing output check point