Jump to the post that solved this thread.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unable to pass "Enter" Key through Sendkeys
#1
Solved: 9 Years, 4 Months ago
I am unable to Pass "Enter" Key using sendKeys.
Please chk my piece of code below:

Code:
SiebApplication("Siebel Comunicaciones_5").SiebScreen("Ordenes").SiebView("Detalles").SiebApplet("Pedido de ventas").SiebText("Número de Orden").SetText "1-630947340"
Dim mySendKeys
set mySendKeys = CreateObject("WScript.shell")
mySendKeys.SendKeys ("~")

the object I am using is a Siebel object. Hence I am not able to pass 'Click' functionality using this object due to which I guess the object is not getting activated.

Note: I have used the following options too:
mySendKeys.SendKeys {"ENTER"}
mySendKeys.SendKeys ENTER

Please help me to solve this
Reply
#2
Solved: 9 Years, 4 Months ago
Got a solution for this:
Code:
SiebApplication("Siebel Comunicaciones_5").SiebScreen("Ordenes").SiebView("Detalles").SiebApplet("Pedido de ventas").SiebText("Número_de_Orden_Edit").ProcessKey "EnterKey"


syntax would be
Code:
SiebApplication(..).SiebScreen(..).................Siebtext(..).ProcessKey "EnterKey"
Reply
Jump to the post that solved this thread.


Possibly Related Threads…
Thread Author Replies Views Last Post
  PASS/FAIL in QTP badri 3 6,197 12-05-2014, 03:26 AM
Last Post: kiranpol
  How to enter values into excel which is already open using QTP Narayanan 1 4,389 12-11-2013, 07:30 AM
Last Post: basanth27
  Problem in Input from keyboard:sendkeys Rachna 1 4,972 10-14-2013, 06:07 PM
Last Post: anil2u
  QTP key issue fix kprasadbio 1 3,155 05-04-2013, 10:47 AM
Last Post: Saket
  how to pass the data frm datatable silpavinod 3 3,949 10-18-2012, 01:54 PM
Last Post: silpavinod

Forum Jump:


Users browsing this thread: 2 Guest(s)