Exception Handling Methods In TestNG | How do you handle TestNG exception?
Video Description :
-----------------
=================Questions================
1. How do I ignore an exception in TestNG?
2. How do you handle TestNG exception
3. What is TestNG exception in selenium?
4. What are the exception handling methods in TestNG
================Description===============
TestNG provides an option of tracing the exception handling of code.
You can test whether a code throws a desired exception or not.
Here the expectedExceptions parameter is used along with the @Test annotation.
Now, let's see @Test(expectedExceptions) in action.
Comments
Post a Comment