-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Here is how to take the Screenshot
String screenShotFileName="./Screenshots/" + logID + "_" + LocalDate.now().toString().replace(":| ", "_") + ".png";
log.warn("{}Evidences:{}", logID, screenShotFileName);
FileUtils.copyFile(((TakesScreenshot) driver).getScreenshotAs(OutputType.FILE),
new File(screenShotFileName));Implement this?
https://www.numpyninja.com/post/how-to-take-screenshots-for-failed-tests-using-testng
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request