2

我使用 Selenium IDE 编写了一个测试用例。现在我正在运行 selenium 服务器,但我遇到了错误

我从它的官方网站下载了最后一个 Selenium RC 包

selenium-html-runner-3.0.1.jar

然后在终端中运行此代码(我在 Windows 10 中使用 cmd):

java -jar selenium-server-standalone-<version-number>.jar

我收到了这个错误:

Exception in thread "main" com.beust.jcommander.parameterException: The following option is required: -htmlSuite at 
com.beust.jcommander.JCommander.validateOptions(JCommander.java:321) at 
com.beust.jcommander.JCommander.parse(JCommander.java:283) at 
com.beust.jcommander.JCommander.parse(JCommander.java:265) at 
org.openqa.selenium.server.htmlrunner.HTMLLauncher.mainInt(HTMLLauncher.java:209) 
org.openqa.selenium.server.htmlrunner.HTMLLauncher.mainInt(HTMLLauncher.java:273)

请帮我修复它

4

0 回答 0