[wtr-general] Re: undefined method `{ENTER}' for #Watir::IE:0x3ee7b9c

2009-08-16 Thread jane.liu
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

[wtr-general] Re: undefined method `{ENTER}' for #Watir::IE:0x3ee7b9c

2009-08-15 Thread jane.liu
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

[wtr-general] Re: undefined method `{ENTER}' for #Watir::IE:0x3ee7b9c

2009-08-07 Thread Smruti Ranjan Kar
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

[wtr-general] Re: undefined method `{ENTER}' for #Watir::IE:0x3ee7b9c

2009-08-07 Thread Marlon
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

[wtr-general] Re: undefined method `{ENTER}' for #Watir::IE:0x3ee7b9c

2009-08-07 Thread Raveendran P
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