Hi Marc,
the results are stored within the directory "./webtest-results";
webTest's output is like following:
INFO (com.canoo.webtest.ant.WebtestTask) - Test report successfully
created.
wt.htmlReports.init:
wt.htmlReports:
wt.openResultFile.init:
wt.openResultFile:
wt.full:
BUILD SUCCESSFUL
Total time: 6 seconds
The target directories content is this(after wt has finished):
[EMAIL PROTECTED]:/var/www/GDAutoTest/webTests$ ls -l webtest-results/
-rw-r--r-- 1 aman aman 79522 2007-11-27 17:44
response_1196181860987_invoke.html
-rw-r--r-- 1 aman aman 20157 2007-11-27 17:44
response_1196181862020_clickButton.html
-rw-r--r-- 1 aman aman 6124 2007-11-27 17:44 resultfile.xml
The resultfile.xml looks like it, ahem, should look like ;-).
Marc Guillemot schrieb:
> Alexander Mannsfeld wrote:
>
>> ...
>> Nevertheless webTest refuses to create the HTML-report.
>> I'm still very clueless, perhps you've got anohther idea?
>>
>>
>
> where are the results placed (xml and received responses)? How does the
> output look like on the console when wt.htmlReports gets called?
>
>
> Alexander Mannsfeld wrote:
>
>> How does multiples-targets work when using wt.testInWork?
>> The "real test" looks more like:
>>
>> <target name="testSuite"
>> depends="GermanPortalLI,GermanPortalLIO,DutchPortalLI,
>> DutchPortalLO,[...]several other targets[...],
>> wt.htmlReports" />
>>
>>
>
> wt.full calls many targets to setup things, then wt.testInWork, then
> different targets to generate html results, open file, ... You can do what
> you put all the dependencies you want to wt.testInWork or perhaps better
> create something like tests/allTests.xml and call it from wt.testInWork.
>
> Marc.
>
--
Alexander Mannsfeld
Quality Assurance
GD GameDuell GmbH
Ackerstraße 14/15, 10115 Berlin
( +49 (0)30 288 768 811
+ +49 (0)30 288 768 299
[EMAIL PROTECTED]
Richtig spielen: www.gameduell.de
---
Firmensitz: Berlin,
Deutschland|Handelsregister: Amtsgericht Berlin-Charlottenburg, HRB Nr.
90891|USt-Id-Nr.: DE 813829498, Steuernummer: 37 / 225 /
20926|Verantwortliche Geschäftsführer: Kai Bolik | Michael Kalkowski | Boris
Wasmuth
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest