Hi Fabian, 

It's a little unclear what the expectation/flow is after you click the 
'Load Form' button.  That button is hidden or removed by some javascript? 
 It's possible that you're running into the http timeout as opposed to a 
timeout for one of the wait methods.  I think what would help is to see the 
stacktrace that you get when you hit the timeout.

On Monday, April 8, 2013 11:55:15 AM UTC-4, [email protected] wrote:
>
> Hi Chuck,
>
> It worked for a bit, but because the website was responding faster. Now it 
> started to happen again and it doesn't seem to care how much time I put 
>  for the timeout:
>
> browser.button(:value => 'Load Form').wait_while_present(timeout=5600)
>
> Same error ...
> fabian
>
> El jueves, 4 de abril de 2013 21:49:30 UTC-3, Chuck van der Linden 
> escribió:
>>
>> On Tuesday, April 2, 2013 7:35:42 AM UTC-7, [email protected] wrote:
>>
>>> Hi Chuck,
>>>
>>> Thanks for the detailed explanation and suggestion. I'll give it  a try.
>>>
>>> Thanks,
>>> Fabian
>>>
>>
>> Did that help or are you still stuck?
>>
>>  
>>
>>>
>>> El miércoles, 27 de marzo de 2013 11:13:57 UTC-3, 
>>> [email protected]ó:
>>>>
>>>> Hi Folks,
>>>>
>>>> The title pretty much says it all. After I click a button to load a 
>>>> form I get the above error. My code:
>>>>
>>>> browser = Watir::Browser.new :ie
>>>> browser.driver.manage.timeouts.implicit_wait = 360
>>>> browser.goto 'http://myform.html'
>>>> browser.text_field(:name => 'EmpNumber').set empnum
>>>> browser.text_field(:name => 'LastName').set lastName
>>>> browser.button(:value => 'Load Form').click
>>>> browser.button(:value => 'Load Form').wait_while_present
>>>>
>>>> This still timesout before 6 minutes ... So I don;t know what I'm doing 
>>>> wrong.
>>>>
>>>> Before you ask, yes, I've googled and searched this list and stack 
>>>> overflow was well :)
>>>>
>>>> Thanks,
>>>> Fabian
>>>>
>>>

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to