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



What is the use of sendkeys.In which cases we Use this sendkey.Pls explain with example...

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

What is the use of sendkeys.In which cases we Use this sendkey.Pls explain with example...

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

What is the use of sendkeys.In which cases we Use this sendkey.Pls explain with example...

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

Post New Answer

More QTP Interview Questions

What is the Diff between Image check-point and Bit map Check point?

3 Answers   Crea,


what could go wrong with test automation?

0 Answers  


I have 5 save buttons in 5 tabs . The tabs are placed one after the other. My object repository have these added as 5 save buttons with name sav1, save 2, save 3 , save 4, save 5 .all are getting highlighted from OR but they are not getting clicked. After spying each button all the properties are same except First button Index 0 html id:=btnSaveTab1 outerhtml:=<input id=""btnSaveTab1"" class=""Button"" onclick=""document.getElementById('a1').click();"" name=""btnSaveTab1"" value=""Save"" type=""button"">", Second button "html id:=btnSave "outerhtml:=<input id=""btnSave"" class=""Button"" onclick=""document.getElementById('a2').click();"" value=""Save"" type=""button"">", Third button "html id:=", outerhtml:=<input id=""btnSaveTab1"" class=""Button"" onclick=""document.getElementById('a1').click();"" name=""btnSaveTab Fourth button "html id:=btnSave outerhtml:=<input id=""btnSave"" class=""Button"" onclick=""document.getElementById('a2').click();"" value=""Save"" type=""button"" 5th button "html id:=", "outerhtml:=<input class=""Button"" onclick=""document.getElementById('a5').click();"" value=""Save"" type=""button"">",

0 Answers  


While testing .net applications with QTP 9.1 in normal recording mode, QTP records my unintentional mouse clicks and window dragging which I don't want. But I can't stop QTP recording those mouse clicks and window dragging. Can somebody let me know how I can get rid of it, please ! Thanks.

1 Answers  


suppose take one row in a row 16 columns is there.in 16 columns 16 numbers is there.but i want to get each 3 column number.o/p :5 columns get in 16 columns means. so can anybody write this function? plz send if u know the answer.

2 Answers   Bosch,






Could we use QTP for java project(Which is develop in Netbeans and My SQL) otherwise which one is suitable?

1 Answers  


Hai Friends this is Rajesh , Is there any Site or Blog that Video tutorials of Qtp that can be free downloadable to Pc. Friends if any body know that site or blog please send me because i'm really in need for that because i cannot affordMoney in learning Course in Institutes due to Financial Problem . So please Forward that Site or Blog which provides Downloadable Video Tutorials in Free to PC , As My Friend is having PC thru that I'm planning to learn. So Kindly help me Friends if you are aware of that Site/Blog

2 Answers  


What is the difference between the keyword view and expert view?

0 Answers  


How to creating an output value using quicktest professional?

0 Answers  


How can you merge two Object Repositories?

3 Answers  


How can I use the value retrieved by OUTPUT VALUE check point as Input for other Actions?

1 Answers   Motorola,


why can't you use excel directly in qtp. why we want to import excel data into Datatable.

1 Answers   BoA,


Categories