Hi,
Attached is the zip file of the project. Here the screenshots are taken and stored in the specific location but not displayed in the extent report. Please look into it.
Instructor
Ashish Thakur Replied on 23/01/2021
Do you get any error?
No, I didn't get any errors. Screenshots are created in the specific folder, but not attaching to the HTML report.
Instructor
Ashish Thakur Replied on 28/01/2021
Debug your program
Put a breakpoint in takeScreenShot
See if control reaches there
If it reaches there and screenshot is not coming then it means there is some issue in path
If it not reaches then plz call it on failure