[wtr-general] Re: How can I send a keystrokes using Watir?

2010-04-04 Thread Rats
On Apr 2, 4:27 am, orde  wrote:
> Use autoit (http://www.autoitscript.com).
>
> Here's the function list for 
> Send:http://www.autoitscript.com/autoit3/docs/functions/Send.htm
>
> Example syntax: browser.send_keys("{TAB}{DOWN}")
>

Thanks for your reply. I am however a little bit confused by what
you've written.

I got send_keys to work just like in autoit. However I don't
understand what you mean by "use autoit". Are you saying you can use
autoit directly from within Watir? Is this by doing a require 'autoit'
or something similar?

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

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com

To unsubscribe, reply using "remove me" as the subject.


[wtr-general] How do I force typing into a text field

2010-04-04 Thread Rats
I have a text field which has a mask in it to check for valid phone
numbers e.g. (__) ___ 

When I send this command it does not populate this field:

ie.text_field (:name, "RequestDemoContact1_HomePhone_I").set
("091234567")

The field just flashes yellow and you see some characters being typed
at the end of the field.

However if you were to manually type the string "091234567" then the
field populates as expected.

Any ideas?

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

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com

To unsubscribe, reply using "remove me" as the subject.


[wtr-general] OT: selenium-webdriver Ruby help?

2010-04-04 Thread Chris McMahon
I know a few of you are working in watir-webdriver.  I am doing a
small script using selenium-webdriver and I ran across something that
looks like a bug in the framework, that might be interesting.  If you
would like to help me figure this out, let me know off the list,
christopher dot mcmahon on gmail.

Thanks!

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

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com

To unsubscribe, reply using "remove me" as the subject.