History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: SRC-387
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Jens Berger
Votes: 1
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
Selenium Remote Control

baseUrl is wrong when calling selenium-server with parameter -htmlSuite

Created: 14/Nov/07 08:29 AM   Updated: 12/Aug/08 05:35 PM
Component/s: Server
Affects Version/s: 0.9.2
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: WinXP, Java 1.6.0_02-b06


 Description  « Hide
When calling selenium-server like this:

  java -jar selenium-server.jar -htmlSuite *firefox http://localhost:8080 "M:\Master\STC.html" "M:\results.html",

the given baseUrl is not used directly but "/selenium-server/tests" is added automatically. So a test that should, for example, open "index.html" (relative path!) fails with error 404 because the browser tries to open the URL "http://localhost:8080/selenium-server/tests/index.html", which does not exist.
(/index.html works because of the leading slash; but then we have a number of test suites that use relative URLs and they work in Selenium IDE.)

When I manually "correct" the baseUrl parameter in the browser window and open that URL, everything works as expected.

The <selenese ...> ant task shows the same problem.



 All   Comments   Work Log   Change History      Sort Order:
Antoine - 24/Nov/07 10:34 PM
Same problem on my linux server Java(TM) SE Runtime Environment (build 1.6.0_03-b05) with selenium serveur 0.9.2