Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/selenium/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java 无法使用批处理文件运行selenium。尽可能得到警告';t链接并确定类的方法,错误为无法读取类上的方法 解决了的!!实际上,我并没有将selenium-server-standalone.zar放在我的lib文件夹中,但测试并没有通过失败,而是在_Java_Selenium_Testng - Fatal编程技术网

Java 无法使用批处理文件运行selenium。尽可能得到警告';t链接并确定类的方法,错误为无法读取类上的方法 解决了的!!实际上,我并没有将selenium-server-standalone.zar放在我的lib文件夹中,但测试并没有通过失败,而是在

Java 无法使用批处理文件运行selenium。尽可能得到警告';t链接并确定类的方法,错误为无法读取类上的方法 解决了的!!实际上,我并没有将selenium-server-standalone.zar放在我的lib文件夹中,但测试并没有通过失败,而是在,java,selenium,testng,Java,Selenium,Testng,无法使用批处理文件运行selenium。尽可能得到警告';t链接并确定类的方法,错误为无法读取类上的方法 解决了的!!实际上,我并没有将selenium-server-standalone.zar放在我的lib文件夹中,但测试并没有通过失败,而是在运行eclipse时通过了测试 D:\Myprogram\ProjectName>java org.testng.TestNG testng.xml [TestNGClassFinder] Warning: Can't link and

无法使用批处理文件运行selenium。尽可能得到警告';t链接并确定类的方法,错误为无法读取类上的方法
解决了的!!实际上,我并没有将selenium-server-standalone.zar放在我的lib文件夹中,但测试并没有通过失败,而是在运行eclipse时通过了测试
D:\Myprogram\ProjectName>java org.testng.TestNG testng.xml
[TestNGClassFinder] Warning: Can't link and determine methods of class Project.ProjectName
[[TestNGClassFinder]] Unable to read methods on class Project.ProjectName - unable to resolve class reference javax/mail/MessagingException
[TestNG] Running:
  D:\Myprogram\ProjectName\testng.xml


===============================================
Suite
Total tests run: 0, Failures: 0, Skips: 0