Updates:
Status: WontFix
Comment #8 on issue 1657 by jussi.ao...@gmail.com: "Source:" URL created as
a 404 link in log file when not using $CWD
http://code.google.com/p/robotframework/issues/detail?id=1657
This problem comes from the way robot creates the relative links, and I
dont think we will change that. You can however modify your relative paths
when running your tests so that this wont be a problem for you.
When running the tests, Robot will find the relative path as it is on the
local file system. So in your case the log is in
/Users/username/Sites/logs/ and the source in
/Users/username/webdemo/login_tests/ This means that the relative path from
/Users/username/Sites/logs/log.html to
/Users/username/webdemo/login_tests/test.txt
is: ../../webdemo/login_tests/test.txt
Unfortunately Robot cannot guess the way your webserver has been laid out
and will never include a functionality to copy source files to another
location, as that will be easiest done by your own runner script. If you
want you webserver to serve the pages correctly, then you need to run the
tests so that the relative path generated based on the local file system
will also work on your webserver and you need to copy the files to your
webserver yourself.
I will close this as wont fix.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
---
You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to robotframework-commit+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.