11 messages in com.canoo.lists.webtestRe: [Webtest] WebTest-Reportingproblem
FromSent OnAttachments
Alexander Mannsfeld27 Nov 2007 06:58 
Marc Guillemot27 Nov 2007 07:22 
Alexander Mannsfeld27 Nov 2007 08:13 
Marc Guillemot27 Nov 2007 08:40 
Alexander Mannsfeld27 Nov 2007 08:48 
Marc Guillemot28 Nov 2007 02:31 
Alexander Mannsfeld28 Nov 2007 02:54 
Marc Guillemot28 Nov 2007 03:13 
Alexander Mannsfeld28 Nov 2007 04:08 
Marc Guillemot28 Nov 2007 04:40 
Alexander Mannsfeld28 Nov 2007 06:42 
Subject:Re: [Webtest] WebTest-Reportingproblem
From:Marc Guillemot (mgui@yahoo.fr)
Date:11/28/2007 02:31:39 AM
List:com.canoo.lists.webtest

Hi,

can you first update to the latest build, this would be easier for me to help you and to understand where the problem comes from.

Cheers, Marc.

Alexander Mannsfeld wrote:

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):

aman@lathan:/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 alex@gameduell.de 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