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
通过命令行(ubuntu)运行selenium ide(firefox)创建的selenium测试套件_Firefox_Selenium - Fatal编程技术网

通过命令行(ubuntu)运行selenium ide(firefox)创建的selenium测试套件

通过命令行(ubuntu)运行selenium ide(firefox)创建的selenium测试套件,firefox,selenium,Firefox,Selenium,我的问题是,通过firefox插件“selenium IDE”创建的selenium测试在使用htmlsuite命令通过cli执行时无法工作。测试只需在firefox浏览器中打开google.de即可。 我可以在selenium ide中记录和执行测试,但在cli中执行以下命令时: java -jar /var/lib/jenkins/jobs/SuiteCRM_CI_Test/selenium-server-standalone-2.48.2.jar -debug -log /home/jen

我的问题是,通过firefox插件“selenium IDE”创建的selenium测试在使用htmlsuite命令通过cli执行时无法工作。测试只需在firefox浏览器中打开google.de即可。 我可以在selenium ide中记录和执行测试,但在cli中执行以下命令时:

java -jar /var/lib/jenkins/jobs/SuiteCRM_CI_Test/selenium-server-standalone-2.48.2.jar -debug -log /home/jenkins/wtflog.log -firoxProfileTemplate /var/lib/jenkins/jobs/SuiteCRM_CI_Test/firefox_profile -htmlSuite *firefox http://google.de /home/koschig/Arbeitsfläche/seleniumtests/googlesuite.html results.html
所有发生的事情是,firefox将打开两个选项卡:一个是“firstrun”选项卡,另一个是以下选项卡:
chrome://src/content/TestRunner.html?auto=true&multiWindow=true&defaultLogLevel=info&baseUrl=http%3A%2F%2Fgoogle.de&resultsUrl=http://localhost:4444/selenium-server/postfresults&test=http%3A%2F%2Flocalhost%3A4444%2Fselenium服务器%2Ftests%2Fgooglesuite.html
这会给我一个
错误,找不到文件

嗯,我不知道这个url的前半部分来自哪里,后半部分是用我在命令行中编写的参数精心编制的

有人知道如何解决这个问题吗?我希望firefox会被打开,google.de会被访问