extent-framework / klov

Report server for ExtentReports
http://klov.herokuapp.com
38 stars 32 forks source link

Klov require absolute path for image upload to klov server #89

Open iamakshayshar opened 2 years ago

iamakshayshar commented 2 years ago

Hi @anshooarora, When working for UI Automation the right practice is that we pass the path of the image which is not from the local machine path, so as when we share the extent report along with the screenshot folder, the images should work and not break the path. Thus we follow the code as below,

String relativePathForReport = "./" + ReportsManager.getScreenShotFolderPath() + "/" + screenshotName

But when using Klov, the images don't get uploaded as it requires the absolute path of the image to get uploaded to the klov server.

request you to please fix this.

Thank you.