try send_keys to the parent div:
@browser.div(:class => "fields related content').send_keys("some_text")


On Friday, 31 August 2012 08:26:08 UTC+10, Daniela wrote:
>
> Well, i will try to explain this in english ;)
>
> Before i enter the text there, i click to "expand" this area (my last post 
> here):
>
> @browser.div(:class => "fields pergunta").legend.click
>
> After i "expand" this part in the page, using the code that i showed, the 
> fields appears, but, the "type" continnuos "hidden", even manually...
>
> And when i try to enter the text, the error message appears when i try to 
> execute.
>
> Thanks again.
>
> Em quinta-feira, 30 de agosto de 2012 19h12min34s UTC-3, Željko Filipin 
> escreveu:
>>
>> On Fri, Aug 31, 2012 at 12:10 AM, Daniela <[email protected]> wrote:
>> > I want to put some values inside a textarea element, but it's hidden.
>>
>> How would you enter the text there manually?
>>
>> Željko
>> --
>> filipin.eu 
>>  
>

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

Reply via email to