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
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
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