-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
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
+ ".png";
ReportsManager.getTest().info("Snapshot below: " + screenshotName,
MediaEntityBuilder.createScreenCaptureFromPath(relativePathForReport ).build());
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels