#extentreports is an #logger-style reporting library for automated tests. A logger is simply an object to log messages or events for a specific system or application. ExtentReports uses the logging style to add information about test sessions, such as creation of tests, adding screenshots, assigning tags, and adding events or series of steps to sequentially indicate the flow of test steps. #testng #automationtesting #sdet
All methods on #ExtentReports are multi-thread safe. The recommended usage is to maintain a single instance of ExtentReports object for your test session.
Below is how a test would be created with 1 passing log.
extent.createTest("MyFirstTest").log(Status.Pass, "This is a logging event for MyFirstTest, and it passed!");
extent.flush();
Watch complete video for complete understaning on ExtentReport5 with Testng and Selenium4.
Githib url for sourcecode: github.com/Rag...
MVN repository:
mvnrepository....
TestNG and Selenium 4 tutorial: • TestNG with selenium4 ...
Негізгі бет Extent Report 5 with screenshots and Gherkins scenario using TestNG
Пікірлер: 8