Getting error message - java.lang.String cannot be cast to com.aventstack.extentreports.ExtentTest
Note: In the report folder, index HTML document is not getting generated.
(See screenshot below in the body)
1. Executing the testng.xml
2. CustomerListener.java is present and coded as per the video.
3. The error seems to be of (Extent Type).
4. Please assist in resolving this error. (See below)
5. TestNG version installed after Ashish sir guidance. See below screenshot
InstructorAshish Replied on 27/07/2020
The error is in your custom listener class line 20
You are assinging a string variable to extent object