January 2018
Beginner to intermediate
354 pages
7h 59m
English
Exception handling is extremely important in both page object class methods and test class methods. All test methods should include throws Exception in the signature or contain a try...catch block to handle the exceptions (checked exceptions), and the @BeforeMethod/@AfterMethod methods should query results and clean up if necessary. Let's look at a couple of scenarios that handle exceptions in test methods.
Read now
Unlock full access