I think that there are some different for watir version
if the srcipt of above is same not work
you can try:
Watir.autoit.Send('{ENTER}')
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir General group.
To
hi Marlon:
you can try method follow for it
add two require in header:
require 'win32ole'
require 'watir/WindowHelper'
and use send_keys:
ie.send_keys({ENTER})
may be it will work
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
use
$ie.send_keys({ENTER})
On Fri, Aug 7, 2009 at 2:33 PM, Marlon marlonmoja...@gmail.com wrote:
Can anyone help me with this error? I'm trying to press ENTER key
focused on a text box.
code:
$ie.send({ENTER})
--~--~-~--~~~---~--~~
You received this
Yes i already tried that, no error but its not pressing enter key. I'm
still searching for the solution.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir General group.
To post to this group, send email to
Hi Marlon,
It seems the ENTER key is clicked but not in IE browser. Focus missing here.
Please use $ie.div(:id,ANY).focus -- before press enter key.
May be it will work ...
On Fri, Aug 7, 2009 at 2:49 PM, Marlon marlonmoja...@gmail.com wrote:
Yes i already tried that, no error but