当前位置: 代码迷 >> Web前端 >> 将异常截图写入报告
  详细解决方案

将异常截图写入报告

热度:123   发布时间:2012-11-23 22:54:33.0
将错误截图写入报告
将错误截图写入报告中:

ullfilename="f:\test.png"
Browser("百度一下,你就知道").CaptureBitmap fullfilename,True ?'true覆盖同名文件,false报错
reporter.ReportEvent micFail,"错误截图写入","功能描述 ",fullfilename
  相关解决方案