There is a Ruby command called "timeout" that may be what you are looking for. http://www.ruby-doc.org/core/classes/Timeout.html
Bret Chethan wrote: > Hi, > > I am running my test cases in one by one using require syntax, putting > inside begin-rescue-ensure-end loop I want some mechanism where for > specified period if the test case not responding/taking long time. I > should kill it & go to next one. > > Can any one suggest me how to do this..? > > Pls help me out on this .... I really need this for my scripts are > struck up & there is manual intervention needed for further execution. > > Thanks for help in advance. > > Regards > Chethan > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to [email protected] Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---
