[Wtr-general] TypeError: can't convert NilClass into time interval

Michael Bolton mb at michaelbolton.net
Wed May 24 22:31:56 EDT 2006


Yes; I think I know what might be happening.  There's probably a problem
with your code.
 
Can we see it, please?
 
---Michael B.

  _____  

From: wtr-general-bounces at rubyforge.org
[mailto:wtr-general-bounces at rubyforge.org] On Behalf Of Quang Tran
Sent: May 24, 2006 10:16 PM
To: wtr-general at rubyforge.org
Subject: [Wtr-general] TypeError: can't convert NilClass into time interval


Hi If anyone could help. I have a piece of code that simply tries to fill a
text field with some text and when i execute the script i get this error
message 
 
TypeError: can't convert NilClass into time interval
    C:/watir/Tests/../watir.rb:3439:in `sleep'
    C:/watir/Tests/../watir.rb:3439:in `doKeyPress'
    C:/watir/Tests/../watir.rb:3438:in `each'
    C:/watir/Tests/../watir.rb:3438:in `doKeyPress'
    C:/watir/Tests/../watir.rb:3404:in `set'
 
c:/ruby/lib/ruby/gems/1.8/gems/wet-web-0.5-mswin32/./qantom/webobjects/WebEd
it.rb:58:in `set'
    C:/watir/Tests/../Tests/webLogin.rb:92:in `set_pwd'
    C:/watir/Tests/../Tests/webbLogin.rb:101:in `send'
    C:/watir/Tests/../Tests/webLogin.rb:101:in `set_data'
    C:/watir/Tests/../Tests/webLogin.rb:101:in `each_pair'
    C:/watir/Tests/../Tests/webLogin.rb:101:in `set_data'
 
the text field im trying to fill is of type password. Does anyone have any
suggestions as to whats going on?

  _____  

realestate.com.au: <http://g.msn.com/8HMAENAU/2755??PS=47575>  the biggest
address in property 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20060524/7cbe5cd0/attachment.html 


More information about the Wtr-general mailing list