[Webtest] JavaScripts: Problems with relative path
Willi Kuhnis
Willi Kuhnis" <wkuehnis@gmail.com
Thu, 10 Jan 2008 14:37:23 +0100
Hi,
I call the invoke - function with a url like
http://10.60.36.59/MyWebAppli/Login.aspx. This works.
Then my Application calls something like this:
<script language="javascript" type="text/javascript"
src="../Script/color_functions.js"></script>
Then Webtest gives me this error message:
javascript error404 Not Found for http://10.60.36.59/Script/color_functions.js
So I think it dont work correctly with "../Script".
maybe it also has something to do with host and basepath in <config> ?
<config
protocol="http"
host="10.60.36.59/MyWebAppli"
basepath="10.60.36.59/MyWebAppli"
port="80"
autorefresh="false"
showhtmlparseroutput="true"
saveresponse="true"
resultfile="results.xml"
timeout="2000">
</config>
Or is it a error ?
Thanks a lot for help
--
Willi Kuhnis
wkuehnis@gmail.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~