In extent report , when screen shot is not attached and logging some message then the logged message displayed in the extent report correctly . extent.log(LogStatus.PASS, "Some message"); But When ...