sarya
14 years agoFrequent Contributor
how to handle exceptions during test suite runs
Hi,
I am running all the tests in the project at one time. Some of the tests have to verify the published files to local drives.If somehow the file is not published and it is not present in the folder,it pops-up an error message box asking to stop project execution.I click the option "No" whenever I am present during the test runs but how can I handle the exceptions like this when I am prseent at the time of the test runs. I am not sure as to where the exception will come as it can occur due to any test script. How and where I need to incorporate some code as to handle these exceptions of stopping at errors.
Thanks,
Sumedha
I am running all the tests in the project at one time. Some of the tests have to verify the published files to local drives.If somehow the file is not published and it is not present in the folder,it pops-up an error message box asking to stop project execution.I click the option "No" whenever I am present during the test runs but how can I handle the exceptions like this when I am prseent at the time of the test runs. I am not sure as to where the exception will come as it can occur due to any test script. How and where I need to incorporate some code as to handle these exceptions of stopping at errors.
Thanks,
Sumedha