- Manual Testing
- Test Management
- Test Automation Process
- Automation Framework
- Automation Methodologies
- Test Harness
- Test Templates
- Testing Resources
- Test Misc
What is Exception Handling in Software Testing/Automation?
Handling run time errors, this inturn ensure that the test execution flow is not interrupted.
Technically exception is an object thrown at run time.
In software testing we skip the statements which has error and resume to further test execution.
What are the Types of Exceptions
There are 2 types in Recoverable Exception
- Checked Exception - This is Checked at Compile Time, Extended by ThrowableClass.
- Unchecked Exception - This is Checked at Run Time, Extended by RunTimeException
- Arithmetic Exception
- Null Pointer Exception
- Number Format Exception
- Array Index Out of Bounds Exception
UnRecoverable exceptions are basically errors, some of which are listed below,
Keywords in Exception Handling
Keywords are an import aspect in exception handling. Some of which are as below,