testng对失败时截图处理
摘要:
1.截图类:public class ScreenShot { public WebDriver driver; public ScreenShot(WebDriver driver) { this.driver = driver; } private void takeScreenshot(St... 阅读全文
posted @ 2015-02-04 11:25 张飞_ 阅读(6875) 评论(10) 推荐(3) 编辑