Hi Michael,
can you give a try to latest build (R_1810). I think that I've fixed the
problem of runnig.txt's creation at the wrong place.
runnig.txt provides information on currently running tests before the
normal overview report has been generated.
Cheers,
Marc.
--
HtmlUnit support & consulting from the source
Blog: http://mguillem.wordpress.com
On 09/29/2010 12:05 PM, Michael Zwick wrote:
Hi,
I found the solution myself: WebTest tries to write this "running.txt" file
into the current working dir; this is hard-coded. This dir wasn't open for writing.
What is the purpose of "running.txt" ?
Cheers,
Michael
-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Michael Zwick
Sent: Mittwoch, 29. September 2010 10:49
To: [email protected]
Subject: [Webtest] Build fails with "java.lang.RuntimeException: Failed to create
running.txt file" after update to r1809
Dear all,
I just updated WebTest to revision 1809 (to see if this resolves my issue with
%20 in javascript...). Now I'm facing this problem:
BUILD FAILED
/n/gdp/sw/webtest-3.0-1809/webtest.xml:242: The following error occurred while
executing this line:
/n/gdp/build/webtest/tests/allTests.xml:26: The following error occurred while
executing this line:
/n/gdp/build/webtest/tests/Verify_Basics.xml:14: java.lang.RuntimeException:
Failed to create running.txt file
Any ideas what causes and/or solves the issue?
Line 242 in webtest.xml is:
<ant dir="${~wt.testInWork.dir}" antfile="${~wt.testInWork.file}"
inheritRefs="true"/>
from:
==========
<target name="wt.testInWork"
description="Runs the test file specified in property
wt.testInWork. Overwrite to run an other way">
<dirname property="~wt.testInWork.dir" file="${wt.testInWork}"/>
<!-- give the possibility to specify the testInWork with and
without the .xml extension -->
<available file="${wt.testInWork}" property="~wt.testInWork.suffix"
value=""/>
<property name="~wt.testInWork.suffix" value=".xml"/>
<basename property="~wt.testInWork.file"
file="${wt.testInWork}${~wt.testInWork.suffix}"/>
<echo message="Execution ${~wt.testInWork.file} in dir
${~wt.testInWork.dir}"/>
<ant dir="${~wt.testInWork.dir}" antfile="${~wt.testInWork.file}"
inheritRefs="true"/>
</target>
==============
I don't see what should have changed here.
Thanks a lot, best regards
Michael
Y��z�fj)b� b�՞m7��X������hm����+-�Ƨ��(����Y���b�ا~��y�^�
Y��z�fj)b� b�՞m7��X������hm����+-�Ƨ��(��Y���b�ا~��y�^st==
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest