Closed gbalaji94 closed 4 years ago
@gbalaji94 This would be the correct repository for this issue: https://github.com/grasshopper7/extentreports-cucumber6-adapter. Copying @grasshopper7
This can be fixed by using a relative path from https://github.com/extent-framework/extentreports-cucumber4-adapter/blob/master/config/extent.properties#L31
extent.reporter.spark.out=test-output/SparkReport/
screenshot.dir=test-output/
screenshot.rel.path=../
So considering the above, if you are saving your report in test-output/SparkReport/Spark.html
, and your images to test-output/
, your relative path would be to tell the report to look 1 level up, from SparkReport/.html -> test-output
. Thus the ../../
as the relative path.
@gbalaji94 If u are still having the issue even after trying the settings above, feel free to open an issue at - https://github.com/grasshopper7/extentreports-cucumber6-adapter/issues. Thanks
Hi @anshooarora
I am using extentreports-cucumber6-adapter,
Issues :
scenario.attach(screenshot, "image/png", scenario.getName());
This adds the attachment icon to the report, but the image is empty. Can you please help?