these things tend to intercept all the keystrokes too, so perhaps its harder 
than I orignally thought

If you click in it and then from irb do
ie.show_active

you should see some of the details about it.

If I get some time later today, I'll give it a go

Paul

----- Original Message -----
From: Alan Ark <[EMAIL PROTECTED]>
Date: Tuesday, July 25, 2006 10:04 am
Subject: Re: [Wtr-general] FreeTextBox & Watir

> Hi Paul,
> 
> Thanks for the suggestion.
> 
> We're using FreeTextBox in an Iframe, but when I try to access the 
> field, I'm getting 
> 
> WIN32OLERuntimeError: focus
>    OLE error code:800A083E in htmlfile
>      Can't move focus to the control because it is invisible, not 
> enabled, or of a type that does not accept the focus.
> 
> I can read lots of attributes from the field (contents, name, id, 
> etc), but it does not appear that I am able to *set* any value for it.
> 
> So now I'm multitasking - tossing it to the list while I go 
> searching the world for the answer.  Wish me luck!
> 
> -Alan
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:wtr-general-
> [EMAIL PROTECTED] On Behalf Of Paul Rogers
> Sent: Monday, July 24, 2006 8:34 PM
> To: [email protected]
> Subject: Re: [Wtr-general] FreeTextBox & Watir
> 
> Ive never tried to test one, but Ive looked at similar things for 
> inclusion in some projects Ive been working on.
> 
> They are normally just a text area, so:
> 
> ie.text_field(:index,1).set('Hello, world")
> 
> should probably do it
> 
> Paul
> 
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.394 / Virus Database: 268.10.3/395 - Release Date: 
> 7/21/2006 
>      
> 
> -- 
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.394 / Virus Database: 268.10.4/396 - Release Date: 
> 7/24/2006 
> _______________________________________________
> 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