Sorry if this is an obvious question, but having many years of a tool that had a recovery system, I find myself clueless about how to begin to do unattended running of testcases on selenium.
Can people tell me how they have managed to handle UNEXPECTED errors?
I can't imagine that you would have to wrap every statement in an if or something. Is there a way to create a basic recovery function that gets called whenever any unexpected error occurs?
Thank so much for any input!
Re: Selenium Newbie
I am not sure what language you are using. but yeah if you are using java. You can use try, Catch and finally to handle the unexpected error. You can call your recovery function from inside finally block.