Well using ie.show_active has given me very interesting results. What I had expected to be my text_field to be active was something totally different.
=> "HTML Document name= id=ctl0_MainBody_PolicyHtmlEditor_designEditor src=about:blank innerText= \n" irb(main):305:0> Clicking on the various dropdown that let me choose the attributes of the font displays what I expected - a series of select-one's Clicking on any of the font styling/formatting buttons (like Bold, Strikethru, centered, left-justified) also returns the HTML document type. I'm going to play around with this a little more. It is very interesting though. -Alan -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Rogers Sent: Tuesday, July 25, 2006 9:14 AM To: wtr-general@rubyforge.org Subject: Re: [Wtr-general] FreeTextBox & Watir 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: wtr-general@rubyforge.org > 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 > Wtr-general@rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-general > _______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.4/396 - Release Date: 7/24/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 Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general