Q:

Screenshots are not visible in klov reports

Screenshots are not getting uploaded in klov report :
Getting below warning :

[testng] Jul 05, 2018 12:34:29 PM com.aventstack.extentreports.mediastorage.HttpMediaManagerKlov storeMedia
  [testng] WARNING: Unable to upload file to server C:\V2AutoWK/temp//screenshots/HLT_01--Failed_AT-VerifyTitle--0507_123427_PM(IST).png

The file is getting saved in db but unable to upload in klov report.
Any help is appreciated!

A:

Check your File Path : C:\V2AutoWK/temp//screenshots/HLT_01--Failed_AT-VerifyTitle--0507_123427_PM(IST).png
Which seems incorrect slashes with combination of Forward and Backward slashes. 
The effective way is, You can store image within your project folder by absolute path. 
public void takeScreenShot(String SSName) throws Exception
    {
        File screen = ((TakesScreenshot) driver).getScreenshotAs(OutputType.FILE);
        BufferedImage img = ImageIO.read(screen);
        File filetest = Paths.get(".").toAbsolutePath().normalize().toFile();
        ImageIO.write(img, "png", new File(filetest + "\\Screenshots\\" + " - " + SSName + ".png"));
        testlog.info("Details of " + SSName, MediaEntityBuilder.createScreenCaptureFromPath(System.getProperty("user.dir") + "\\Screenshots\\"  + " - " + SSName + ".png").build());
    }

Screenshot is fetched by ExtentReport method. You can find similar for klov. 

