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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Quang Tran
Sent: May 24, 2006 10:16 PM
To: [email protected]
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/WebEdit.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'
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/WebEdit.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: the biggest address in property
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
