I ran this:
cw2.button( "Close Window" ).click_no_wait
$ie.wait*
And got this error:
1) Error:
test5_ca(TC_PER_Significant):
TypeError: true can't be coerced into Fixnum
C:/watir_bonus/working/PER/tc_PER_Significant.rb:261:in `*'
C:/watir_bonus/working/PER/tc_PER_Significant.rb:261:in `test5_ca'
--Mark
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bret Pettichord
Sent: Tuesday, September 05, 2006 12:57 PM
To: [email protected]
Subject: Re: [Wtr-general] Error clicking a button...
Cain, Mark wrote:
> It appears to be a synchronization problem as you described, how do I
> fix it? I am using the click_no_wait method to exit the non-modal
> window (regular click error ironically enough in wait) and that is
where
> the synch error occurs.
>
* cw2.button( ** "Close Window" ** ).click_no_wait
$ie.wait* # add this
> I am not sure why ie.wait was not working before, I suspect it was not
> waiting long enough but can not prove that conclusively.
>
That answers my question, which really was "what did you see that made
you think it didn't work".
_______________________________________________
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