我在Onfailure
方法我想在我的TestNG的报告
Reporter.log("Screenshot can be found : <a target=\"_blank\" href="+imagePath+">Screenshot</a>");
,然后再试一次
Reporter.log("<a target=\"_blank\" href="+imagePath+">Screenshot</a>");
他们都不曾为谁能帮尝试下面的代码添加我的失败屏幕截图的超级链接我??
有什么结果(错输出,例外,空白页),你期望什么? –