11-10-2009, 09:49 PM
hi venkatbatchu,
As per me we use error handling for expected error behavior of the application. Like in Flight reservation application, we have to validate that "If user click on OK button on Login dialog then error message(in dialog box- Please enter agent name) should display", same for 3 character error message and blank password and wrong password. We know that system should display that type of error. But we have to run our script for that we use error handling through (recovery scenario).
And we use exception handling for dynamic change in our application. Like Fax order. We also used to perform it through Regular expression.
Please let me know if i am worong?
I am not 100% sure for my ans. I request Ankur and Saket to look on this. This is very nice question.
As per me we use error handling for expected error behavior of the application. Like in Flight reservation application, we have to validate that "If user click on OK button on Login dialog then error message(in dialog box- Please enter agent name) should display", same for 3 character error message and blank password and wrong password. We know that system should display that type of error. But we have to run our script for that we use error handling through (recovery scenario).
And we use exception handling for dynamic change in our application. Like Fax order. We also used to perform it through Regular expression.
Please let me know if i am worong?
I am not 100% sure for my ans. I request Ankur and Saket to look on this. This is very nice question.