Hey Jason

 

What about using the gets() method? Unfortunately you have to run your script from the command line, but you have the flexibility of having your script continue whenever you want it to. May not be that great for automation as you have to baby sit it, but it’s a thought.

 

Tom

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason Alexander
Sent: Monday, September 18, 2006 12:07 PM
To: [email protected]
Subject: [Wtr-general] Delays and Pauses

 

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