Usage Of TestNG expectedExceptions Attribute In Selenium WebDriver With Example
expectedExceptions Is very good feature of testng using which we can Ignore known but not required exceptions. In your selenium webdriver test execution, You can use expectedExceptions when you know that any specific @Test method can throw specific exception but It Is not much more Important and you wants to Ignore that exception. If you have used … Read more