[wtr-general] Re: How to make the scripts more effective at slow connection?

2011-06-27 Thread Danijel
Hi Amit, Like said joedio, you need to add when you are loading new pages, every page has it's own recognizing element, until this element is present then wait, after finding element you can continiue with test execution. it's same for AJAX. br,Dani -- Before posting, please read

Re: [wtr-general] Re: How to make the scripts more effective at slow connection?

2011-06-27 Thread Amit Bobade
Thanks for your valuable advice. :) On Mon, Jun 27, 2011 at 2:24 PM, Danijel danijel.vuko...@gmail.com wrote: Hi Amit, Like said joedio, you need to add when you are loading new pages, every page has it's own recognizing element, until this element is present then wait, after finding

[wtr-general] Re: How to make the scripts more effective at slow connection?

2011-06-26 Thread joedio
Amit, Suggest you look into the Watir methods wait wait_until You can read up on them in the RDoc http://wtr.rubyforge.org/rdoc/1.6.5/ At those points in the script where you need to acount for network timing issues, add a wait/wait_until command for some HTML element on the page to be