Re: [wtr-general] Re: default wait time

2011-01-26 Thread vishnu
, vishnu path...@gmail.com wrote: Hi    We have a lot of different places where our tests wait. Partly, there is the default wait of watir when a page is loaded. Then there are explicitly wait with a Watir::Wait.until the site we are testing is quite slow. Is there a way I can explicitly increase

[wtr-general] default wait time

2011-01-25 Thread vishnu
Hi We have a lot of different places where our tests wait. Partly, there is the default wait of watir when a page is loaded. Then there are explicitly wait with a Watir::Wait.until the site we are testing is quite slow. Is there a way I can explicitly increase the timeout watir uses across the

[wtr-general] callback to run everytime a page loads?

2011-01-21 Thread vishnu
jquery.fx.off on every page when it loads? thanks Vishnu -- 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

Re: [wtr-general] testing a page that goes through multiple redirects.

2011-01-20 Thread vishnu
, Jan 19, 2011 at 8:31 PM, vishnu path...@gmail.com wrote: I posted an issue on github and jarib suggested I use something like wait_until_present to make sure I'm on the page I expect to be. But I have 2 concerns. firstly, even with wait_until_present is there a likelyhood I get a stale

Re: [wtr-general] testing a page that goes through multiple redirects.

2011-01-20 Thread vishnu
, then I'll just poll for the elements I expect on the success page as you suggest. On Thu, Jan 20, 2011 at 4:58 PM, Jari Bakken jari.bak...@gmail.com wrote: On Thu, Jan 20, 2011 at 12:06 PM, vishnu path...@gmail.com wrote: Ideally in the case of these redirects, I'd like to be able to check

[wtr-general] testing a page that goes through multiple redirects.

2011-01-19 Thread vishnu
Hi I'm testing an application that integrates with a payment gateway. This involves about 3 redirects. Each of these is not 302's but a page that has a form and an onload script that submits the form via javascript. The problem is sometimes watir continues before the chain of redirects. So