2010-02-02 78 views
1

运行命令后java -jar selenium-server.jar -htmlSuite "iexplore" "http://www.google.com/" "C:\Selenium\suite.html" "C:\Selenium\results.html"浏览器打开并显示页面无法显示在测试套件列中。请帮我解决这个问题?Selenium RC -htmlsuite错误

回答

1

通常情况下,这是因为Selenium Test Suite的路径错误。你确定它正在加载正确的版本吗?

我还注意到,您正在浏览器名称中加载没有*的浏览器。 E.g使用

java -jar selenium-server.jar -htmlsuite *iexplore http://www.google.com c:\selenium\suite.html C:\selenium\results.html 

我对如何得到这个事情我的网站在http://www.theautomatedtester.co.uk/seleniumtraining/selenium_rc_setup.htm

0

尝试下面的命令,让我们知道您的反馈意见的教程,它应该工作。

Java的罐子硒的server.jar -htmlSuite “IEXPLORE”, “http://www.google.com/”, “C:\硒\ suite.html” “C:\硒\ results.html” -port 4444