Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Send key method does not set value on webEdit object.
#1
Hi ,

I have a search text box in which when you type two characteres say 'te' whole list matching this appears say test,test1.. .In source code there is "onblur" event attached to this text box so i tried following

Code:
Browser("").Page("").Frame("").WebEdit("").Click Set WshShell = CreateObject("WScript.Shell") wait (1) WshShell.SendKeys "te" wait(1) Set WshShell = Nothing wait 4 Browser("").Page("").Frame("").WebElement("innertext:=test","index:=1").Click wait 2
Problem is instead of setting the value in text box it is setting the value in browser title bar though i am specifically setting the focus to text box using "Browser("").Page("").Frame("").WebEdit("").Click" statement .
Please Help .
Reply
#2
Code:
Browser("").Page("").Frame("").WebEdit("").object.focus

Try this..
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Object doesn't support this property or method takecharge 1 2,186 11-13-2019, 10:05 PM
Last Post: stormbringer
  does WebTable Object provides a method to get column number umer830 4 14,114 07-06-2018, 09:32 AM
Last Post: vijaychourasiya0109@gmail.com
  Object doesn't support this property or method: 'window(...).window(...).winobject' senthil5683 1 4,151 07-04-2016, 07:08 PM
Last Post: venkatesh9032
  How to press the space bar with send keys method Hari Prasad 5 26,520 06-03-2016, 10:47 AM
Last Post: Vijayaragavan.thangam
  Use WebEdit object as array sram3003 0 2,219 02-24-2015, 02:03 PM
Last Post: sram3003

Forum Jump:


Users browsing this thread: 1 Guest(s)