What is the exception ? why we are using exception in automation testing ?

Showing Answers 1 - 18 of 18 Answers

harsha_trp

  • Nov 26th, 2006
 

exceptions  are totally it depends upon what the developer written the code in an application

 if any wrong in that plz let me know

  Was this answer useful?  Yes

Imrsh

  • Nov 27th, 2006
 

Exception is  an Object, we use Try,Catch and an optional finally block to catch exceptions. We use exceptions to ensure which part of code have problem we usually print the stack to trace out the excat location in the code from where the problem arise and user can be shown a user friendly message against each exception rather to show him a technical statement which he would have no idea of.

  Was this answer useful?  Yes

Exception comes while emerging a pop up box or alert msgs which are not during the recording of the event. So we choose exception handling option in the automation tools to guide the machine to overcome from that unexpected event. Correct me if am wrong. RegardsS.Pradeep Kumar

  Was this answer useful?  Yes

ramachndr

  • Jan 10th, 2007
 

Yes Exceptions are an unknown conditions which are now known during the script creation.... from our past experience we decide these errors (unknown dialog box, unknown error page etc...) might come, so how do u handle that... thats why we use recovery manager to handle such exceptions

ashokdotk

  • Feb 15th, 2008
 

An Exception event is an event that interrupts ur test run.

A recovery scenario is a definition of one or more operations that enable the test run continue after an exception event occurs

ritz082

  • Mar 18th, 2008
 

Exception is an event that interrupts the run session. Ex: a window may pop up, or Quick Test run error may occur.

In order to run our test continuesly inspite of the occurance of the error, we use excveption handling scenarios ie recovery scenarios, which says the system what to do if such exception occur.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions