[Wtr-general] FreeTextBox & Watir

Alan Ark arkie at compli.com
Tue Jul 25 12:04:46 EDT 2006


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: wtr-general-bounces at rubyforge.org [mailto:wtr-general-bounces at rubyforge.org] On Behalf Of Paul Rogers
Sent: Monday, July 24, 2006 8:34 PM
To: wtr-general at 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
 



More information about the Wtr-general mailing list