i have seen this video but can you please let me know how to store screenshots taken by webdriver into the folder which is created dynamically in the ExtentManager class. i have created the takeScreenShot in BaseTest class in DDT with junit framework but in that function how can i store screenshots in dynamically crated folder.
Instructor
Ashish Thakur Replied on 05/05/2020
You can create a variable named screenshotPath in extent manager
When you create the reports then you can initialize this variable in extent manager
Later you can access this variable when you are taking screenshot to know about path
Thank you so much for your help. yes it will work now. thanks for quick response.