If I'm following your question correctly, you can activate the Enter
key via the send_keys method.

For example: browser.send_keys('{ENTER}')

For more info, see 
http://wtr.rubyforge.org/rdoc/1.6.5/classes/Watir/IE.html#M000497

Hope it helps.

orde

On Apr 13, 1:01 pm, a b <cristina.watir.toro...@gmail.com> wrote:
> I have attached the code screen snapshot.
>
> Thanks,
> Cristina
>
> On Wed, Apr 13, 2011 at 3:17 PM, a b <cristina.watir.toro...@gmail.com>wrote:
>
>
>
>
>
>
>
> > Hi all,
>
> > I didn't find any example on how to simulate Enter on a jump field.
>
> > I have a jump/search text field and is working only when we hit enter. I do
> > not have any other button..
> > I do not know how to do it on watir. I searched on watir group/
> > stackoverflow and google it but I didn't find anything to help me.
>
> > Please let me know if I can find any example or any information.
>
> > Hope One encountered that issue.
>
> > Regards,
> > Cristina

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com

Reply via email to