You are using WET and it is unclear if perhaps WET has the problem. Have you asked the WET folks for help?
It is hard to tell what version of Watir you are using. Knowing that would allow us to match up the error report to the source.
Given these hurdles, my guess is that one of the delay settings internal to Watir is being set to Nil, probably by WET.
Bret
On 5/24/06, Quang Tran
<[EMAIL PROTECTED]> wrote:
gui.set_data({
:pwd => "Person"
})
which calls thisdef set_data (data)
data.each_pair {|key, value| send("set_#{key}", value)}
enddef set_pwd(pwd)
$ie.frame(:name, RightFrame).text_field(:name, UserPwdField).set(pwd)
end
From: "Michael Bolton" <[EMAIL PROTECTED] >
Reply-To: [email protected]
To: <[email protected] >Subject: Re: [Wtr-general] TypeError: can't convert NilClass into timeinterval
Date: Wed, 24 May 2006 22:31:56 -0400
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 intervalHi 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 messageTypeError: 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'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
New year, new job – there's more than 100,00 jobs at SEEK
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
