John Lolis wrote:
> unable to located object in general means that the page has not yet load (as 
> far as I understand it. 
I agree that this is probably the reason for the Dave's problem. 
Specifically the "wait" logic that normally occurs in Watir, does not 
work in modal_dialogs (and is thus not used).

What i have been doing to avoid hard-coded sleeps but ensure 
synchronization  is explicitly wait for specific objects to exist (like 
an OK or Cancel button). This has worked for my scenarios, but i don't 
know how to generalize this approach into a general solution.

My thinking right now is that we should recommend this approach in 
general, rather than build in retries, but i am open to other suggestions.

Bret
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to