I'm having some issues with setting focus to fields on different
computers.

I scripted some stuff over the weekend on my home computer where I set
focus to a field and then did some "send_keys" on the field. This
worked perfectly however on my work computer the same .focus command
sets focus to the browser URL field instead of the desired component.

I'm using the following command:

ie.text_field(:id, "Request_Salutation_I").focus
ie.send_keys("{DOWN}")

Basically this just sets the salutation field on a request form to the
first value.

-- 
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.

Reply via email to