查看TestNg运行的报告

import java.io.IOException;

import org.openqa.selenium.WebDriver;
import org.testng.Reporter;
import org.testng.annotations.Test;
public class BorwserEngin{
@Test
public void f() throws IOException {
BorwserEngin borwser=new BorwserEngin();
Reporter.log(“我在打印日志sxfsxf”);

}

}
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/weixin_37565521/article/details/84486438
今日推荐