How to Take Screenshot when an Assert fails
How to Take Screenshot when an Assert fails Let’s learn the steps involved to take screenshot in Selenium automation Tests using TestNG framework when an assert fails in test methods. It’s an awesome capability to capture a screenshot when an Assert fails with TestNG Framework. To get started, lets learn Assert life cycle in the […]