On Wed, Oct 5, 2011 at 4:08 PM, Rahul Sharma <rahulsharma....@gmail.com>wrote:

> Hi Jari,
>
> We have been using explicit waits for a long time and one drawback that we
> have encountered is when the tests fail. The timeout I believe with
> Watir::Wait.until is 30 secs. If the test was going to fail it will still
> try to locate the element(correct me if I am wrong!). Should this be cut
> down to less seconds?
>
>
>
I'm not sure how that's worse than implicit waits. With explicit waits, it
will at least only happen when you explicitly tell it to, not for *every*
element lookup. You can also pass your preferred timeout as the first
argument to all the wait methods.

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com

Reply via email to