Re: [Wtr-general] FreeTextBox & Watir

2006-07-28 Thread Alan Ark
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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris McMahon
Sent: Thursday, July 27, 2006 1:38 PM
To: wtr-general@rubyforge.org
Subject: Re: [Wtr-general] FreeTextBox & Watir

On 7/25/06, Alan Ark <[EMAIL PROTECTED]> 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@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
 
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general


Re: [Wtr-general] FreeTextBox & Watir

2006-07-27 Thread Chris McMahon
On 7/25/06, Alan Ark <[EMAIL PROTECTED]> 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@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general


Re: [Wtr-general] FreeTextBox & Watir

2006-07-25 Thread Alan Ark
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


Re: [Wtr-general] FreeTextBox & Watir

2006-07-25 Thread Paul Rogers
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


Re: [Wtr-general] FreeTextBox & Watir

2006-07-25 Thread Alan Ark
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:[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


Re: [Wtr-general] FreeTextBox & Watir

2006-07-24 Thread Paul Rogers
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








Hi listfolks.

 

Has anyone had to try to test a page that
is using FreeTextBox?

 

www.freetextbox.com

 

I’d like to chat with you if you
have.

 

Thanks

-Alan

 








--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.3/395 - Release Date: 7/21/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