1.

What Is Exception Test In Testng?

Answer»

TestNG gives an option for tracing the Exception handling of CODE. You can VERIFY whether a code throws the expected exception or not. The expected exception to VALIDATE while running the test case is MENTIONED using the expectedExceptions attribute value along with @Test annotation.

TestNG gives an option for tracing the Exception handling of code. You can verify whether a code throws the expected exception or not. The expected exception to validate while running the test case is mentioned using the expectedExceptions attribute value along with @Test annotation.



Discussion

No Comment Found