Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hitting enter key aftrer seting value in webedit
#5
Not Solved
i guess sendkeys should work here.
you just need to ativate the edit box by clicking there before sending the enter/tab.

I would prefer to send Tab key instead of Enter (if AUT permits)
try this

Code:
set WshShell = CreateObject("WScript.Shell")

AMA.WebEdit("name:=equipmentIdList").Set "PACU 898375"
AMA.WebEdit("name:=equipmentIdList").Click
WshShell.SendKeys"{TAB}"
'or try sending Enter as well
'WshShell.SendKeys"{ENTER}"

let me know if this helps.

Reply


Messages In This Thread
RE: Hitting enter key aftrer seting value in webedit - by Saket - 03-11-2010, 05:59 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Unable to pass "Enter" Key through Sendkeys Lavanya N 1 4,164 07-24-2015, 02:17 PM
Last Post: Lavanya N
  How to enter values into excel which is already open using QTP Narayanan 1 4,400 12-11-2013, 07:30 AM
Last Post: basanth27
  QTP key issue fix kprasadbio 1 3,163 05-04-2013, 10:47 AM
Last Post: Saket
Wink How to Enter A Value on Web Element pgcsc 2 3,775 02-14-2012, 02:08 AM
Last Post: pgcsc
Toungue Enter new value from datatable in web edit sonali shinde 4 7,422 01-21-2012, 11:04 AM
Last Post: sonali shinde

Forum Jump:


Users browsing this thread: 2 Guest(s)