Hi guys,

I want to put some values inside a textarea element, but it's hidden.

Look the html please:

<div class="question-wrapper">
<div class="question-description-wrapper related-contents">
<div class="fields related content">
<input 
id="poll_questions_attributes_0_related_contents_attributes_0_credit" 
class="credit" type="hidden" 
name="poll[questions_attributes][0][related_contents_attributes][0][credit]">

The element has an "id" 
= poll_questions_attributes_0_related_contents_attributes_0_credit

But, when i execute the script, passing:

text_field(:pergunta_element, :id => 
"poll_questions_attributes_0_description")

The error that appears is:

[remote server] 
file:///tmp/webdriver-profile-iwjb1j/extensions/@.com/components/commandr.js:5908:in
 
`unknown': Element is not currently visible and so may not be interacted 
with (Selenium::WebDriver::Error::ElementNotVisibleError)


Thanks a lot if someone help me.

-- 
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