Hello people,

In our application, there are is a dialog box, which takes a lot of time to 
load.  We give the statement, 'ie.modal_dialog', at the point, where the dialog 
box would come.  But this statement times out within a few seconds before the 
modal dialog gets loaded. While executing the 'ie,modal_dialog' statement, 
Watir throws an exception saying "Modal dialog did not appear within 2.0 
seconds".  So we opened the 'watir.rb' file and increased the 
'@@attach_timeout' value present in it from 2.0 to 20.0.  Now Watir waits for 
the dialog to come (which would come within 15 seconds) and attaches to it.  
Can we increase this 'attach_timeout' value through a watir command instead of 
opening the 'watir.rb' file and doing that manually (In a testing tool named 
'Test Partner', we can do the same with the command, 'timeout_msec = 20')?

Thanks for your time,
Vijay.
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to