Selenium测试aplication路径问题测试未选定的URL运行

问题描述:

我尝试使用命令行,但测试开始我硒测试都被炒到http://mycomputer,而不是http://mycomputer/myapplicationSelenium测试aplication路径问题测试未选定的URL运行

D:\projectsnet\Production\MyWebTests\tools\selenium-server>java -jar selenium- 
server.jar -Dhttp.proxyHost=mycomputer -Dhttp.proxyport=4444 -htmlSuite "*firefox" "ht 
tp://mycomputer/myapplication/" "D:\mypathtotestssuites\0001-testsuite.html" "c:\temp\result.html" 

在测试情况下,我有得到链接

<link rel="selenium.base" href="http://mycomputer/myapplication/" /> 

这是设计。

如果你正在做开发针对http://mycomputer/myapplication/那么我会建议你做http://mycomputer作为基本URL,然后添加

open | /myapplication/ 

要将测试的顶部。