1. Created and Updated Extent Reports for the project using maven and used Test NG.
2. Added log in src/main/java and src/test/java folders.
3. Then ran the testng.xml file from src/test/resources folder.
Observation
1. The complete test is running perfectly and passing and date is also getting perfectly created but not getting the .html file for checking reports.
2. After running the test getting a Null Pointer exception in the log from the src/main/java folder.
Please find the attached project
Can you please help me regarding these issues
Instructor
Ashish Thakur Replied on 02/12/2021
You need to call the flush function to generate the reports. Please check
Problem solved closing..