Anand,

Have you "suddenly" changed something on your computer that may
correspond to the sudden error you are now seeing?  I'd start looking
there.

What is the HTML that you are testing against that causes this error?

What is the Watir code that you are using to test it?
What is the command that is failing?

If you could supply answers to these question then it would be much
easier to assist.


On Sep 1, 11:04 pm, Watir_User <[email protected]> wrote:
> Hi
>
> My tests have been failing suddenly with the error message from a std
> library "input_elements.rb"
>
> :/Ruby187/lib/ruby/gems/1.8/gems/watir-1.9.1/lib/watir/
> input_elements.rb:438:in `limit_to_maxlength': undefined method
> `length' for nil:NilClass (NoMethodError)
>         from C:/Ruby187/lib/ruby/gems/1.8/gems/watir-1.9.1/lib/watir/
> input_elements.rb:382:in `set'
>
> What causes this and what is the solution?
>
> Thanks
> Anand

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