Well your first problem is win7...  just kidding...  is your pw field nested
inside a frame?

On Oct 6, 2010 6:35 PM, "blkjk" <blkjk....@gmail.com> wrote:

I am trying to type text to a Login textfield. And when I use this
code to access it:

         $b.text_field(:name, 'mockPassword').set('abc123')        No
password actually gets typed into the textfield and used for login.

Here is what Firebug caught to identify the textfield:
<input type="text"
onfocus="jQuery('#mockPassword').hide();jQuery('#password').show();jQuery('#password').focus();"
value="password" name="mockPassword" id="mockPassword" style="width:
150px; color: rgb(204, 204, 204);" class="input">

Any thoughts on how to make the code type the password into that
field? And yes, I wish to make it work on both IE8 & FF3.5 in Win7.
Thanks for any help on this.

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

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