[Wtr-general] FreeTextBox & Watir
Alan Ark
arkie at compli.com
Fri Jul 28 11:35:09 EDT 2006
I've got a line open with the author of FTB to see why this is. When you include the free version of FTB, all you get is a DLL to link into your project. I'm hoping that the author will be able to give me a little more insight into the pieces that are being displayed.
I do know about the frame (there are actually two of them), but I'm unsure on why they are there, or how/if I should be able to actually set text on the fields.
For now I have a clumsy workaround - sleep for 15 seconds while I paste the text into the field. Its frustrating that I could not do
ie.text_area(:id,"ctl0_MainBody_PolicyHtmlEditor").set("hi")
on the object. Grrr.
Sometimes you win, sometimes you have to find the way around. LOL.
-----Original Message-----
From: wtr-general-bounces at rubyforge.org [mailto:wtr-general-bounces at rubyforge.org] On Behalf Of Chris McMahon
Sent: Thursday, July 27, 2006 1:38 PM
To: wtr-general at rubyforge.org
Subject: Re: [Wtr-general] FreeTextBox & Watir
On 7/25/06, Alan Ark <arkie at compli.com> wrote:
> 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.
So it is. You realize you have a frame or iframe there, right?
That's the "HTML Document" bit.
_______________________________________________
Wtr-general mailing list
Wtr-general at 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/401 - Release Date: 7/26/2006
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.4/402 - Release Date: 7/27/2006
More information about the Wtr-general
mailing list