1+

Would this also work for sending other keyboard commands?  E.g. {ALT +
A}

--Mark
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bret Pettichord
Sent: Wednesday, July 20, 2005 7:09 AM
To: [email protected]
Subject: RE: [Wtr-general] Tabbing through website

Would there be interest in adding this method to Watir? --

   ie.send_keys("{tab}") # send key events to IE window

I don't have strong feelings either way, but it wouldn't be hard to add.

Bret


At 04:40 PM 7/19/2005, Scott Hanselman wrote:

>You might be able to FireEvent( onblur ) then FireEvent( onfocus ) to
get 
>the same effect, unless your javascript is truly looking at keydowns&
>
>
>Scott
>
>
>
>----------
>From: [EMAIL PROTECTED] 
>[mailto:[EMAIL PROTECTED] On Behalf Of Ben Torres
>Sent: Tuesday, July 19, 2005 2:22 PM
>To: [email protected]
>Subject: [Wtr-general] Tabbing through website
>
>
>
>Hi,
>
>
>
>I am new to both Ruby and Watir and was wondering if there is a way to 
>send the <Tab> key for my scripts.  I am unable to locate a file field
by 
>using :name, so the only way I can think of, is to just simulate
hitting 
>the tab key to get to the field.  Is there a TypeKeys function I can
use 
>in Watir?
>
>
>
>Thanks,
>
>Ben
>
>__________________________________________________
>Do You Yahoo!?
>Tired of spam? Yahoo! Mail has the best spam protection around
>http://mail.yahoo.com
>_______________________________________________
>Wtr-general mailing list
>[email protected]
>http://rubyforge.org/mailman/listinfo/wtr-general

_____________________
  Bret Pettichord
  www.pettichord.com

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to