see: http://www.rubycentral.com/book/tut_exceptions.html
this might be enough brain food to get you started. Just need to throw in some
control loop (an array of tests maybe?), specific error handling and maybe even
retries.
begin
-#Do your thing
rescue
-#put the error data into something nice
-error = $!.to_s
-stack = $@
# spit it out
-puts 'Error ' + error
-stack.each {|x|puts 'Stack Trace: ' + x}
end
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=5886&messageID=16478#16478
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general