如何在自动化的单独文件夹中生成Testng结果?

时间:2021-07-29 12:37:54

标签: testng testng-dataprovider testng-eclipse testng.xml testng-annotation-test

TestNG testNG = new TestNG();

testNG.setOutputDirectory(System.getProperty("user.dir") +"\\TestResults\\"+"Result_"+timeStamp);

testNG.run();

我是这样写的..新文件夹正在创建,但结果没有在该文件夹中生成,空数据正在获取..请查看它并告诉我。

0 个答案:

没有答案