Swathi Nallanchakravartula

Results 1 comments of Swathi Nallanchakravartula

Hi @abvijay You can use the below code to capture screenshot, save to the specified location and embed to the report. Reporter.addScreenCaptureFromPath(CaptureScreen(driver,"FailedScenario")); public String CaptureScreen(WebDriver driver, String imageName) { File...