pythonseleniumhtmltestrunner怎样输出详细错误信息

更新时间:02-08 教程 由 幻想 分享

一般只有错误的时候才会需要截图吧,HTMLTestRunner没有加入截图这个功能,你可以用Webdriver提供错误截图函数get_screenshot_as_file(),放入对应测试用例所在文件夹就可以啦

声明:关于《pythonseleniumhtmltestrunner怎样输出详细错误信息》以上内容仅供参考,若您的权利被侵害,请联系13825271@qq.com
本文网址:http://www.25820.com/tutorial/14_2107387.html