Hey guys,

 

 

Quick question, what is the best way to pause your scripts? For example, I have an order page that takes a few seconds to go out and hit the merchant gateway and authorize the charge. Unfortunately, my tests around that seem to fail because it takes so long.

 

What is the best way to pause the script a few seconds while waiting on the page to finish processing?

 

Should I set $ie.sleeptime high before hitting the submit button, and then setting it back afterwards (what’s the default value?)?

 

 

Thanks,

-Jason
 
 
Jason L. Alexander  »  Chief Technology Officer »

Telligent Systems, Inc.  » http://telligent.com » w: 214.420.1333  » http://JasonA.net

 

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

Reply via email to