用eclipse运行testng.xml或者直接双击bat文件可以运行成功,集成到jenkins后构建后skip所有用例 解决方法: 查看该testng.xml文件的项目目录的test-output->emailable-report提示cannot find Chrome binary 在用例中加入如下代码即可: