查看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”);
}
}