You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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,
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.
The text was updated successfully, but these errors were encountered: