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
Hi, can explain the draw back of manual testing.plz send me the answer to my mail id deepthip1985@gmail.com
How will you declare a variable in qtp?
when a test case is written how u test using qtp
terminal services client
HI Everybody, I am using QTP 9.2, I have a problem and hope everybody help me solve it. Now I need to use mouse wheel event to zoom in or zoom out in web client, but QTP can't catch this event. I look forward helping of everybody. Thank you very much.
What is the synchronization point in qtp?
if there is a web table of having row and colmns.a button is placed at 2nd row's 3rd column which is worked for both edit and delete..how to write script for the button to test both operation on the web table using desriptive programing.. plz help me on script wheather using getroproperty Q2)what is the command for taking valiue from a web table in qtp
In Remote acess server how u run a test?
how to compare two bitmaps( 1. clients requirement & 2. Designed by dev) in qtp 8.2 wann clear steps
What is the parameterization?
How does you test a weblink which is changing dynamically?
Please Don't mind .i want in detail the real time process i.e in each document what it contains.
How to add object to object repository in qtp9.0 Suppose for brower yahoo home page
Which features or drawbacks of QTP lead to the upgrade for a newer version?
can u explain the keyword driven framework with an example clearly how to create all the files and how to attach to main test.