我正在ubuntu终端上运行TestNG XML文件,但是chrome浏览器未启动,并且测试用例失败。如果我从eclipse运行相同的用例,则测试用例通过
dev2@dev2-ThinkCentre-M72e:~/eclipse-workspace/seffcon$ java -cp /home/dev2/eclipse-workspace/seffcon/bin:/home/dev2/eclipse-workspace/seffcon/libs/* org.testng.TestNG testng.xml
[TestNG] Running:
/home/dev2/eclipse-workspace/seffcon/testng.xml
===============================================
Suite
Total tests run: 1, Failures: 1, Skips: 0
===============================================