Hi Marc,
thanks for your answer;
I've changed the test according to your instructions:
<?xml version="1.0"?>
<project name="LanguageIndependentUseCase" default="wt.full"
basedir=".">
<property name="suite.xml"
value="usecases/CheckJobSitesLoggedIn.xml"/>
<property name="suite2.xml"
value="usecases/CheckJobSitesLoggedOut.xml"/>
<property name="webtest.home" location="/opt/CanooWebTest" />
<property name="wt.resultpath" location="./webtest-results"/>
<property name="wt.resultfile" value="resultfile.xml"/>
<import file="${webtest.home}/webtest.xml"/>
<target name="wt.testInWork">
<ant antfile="${suite.xml}">
<property file="properties/[LngJob]Germany.properties"/>
</ant>
</target>
</project>
Nevertheless webTest refuses to create the HTML-report.
I'm still very clueless, perhps you've got anohther idea?
Btw, permission are all set accordingly.
Thanks and cheers,
Alexander
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" />
Marc Guillemot schrieb:
> Hi,
>
> try to remove
> <property name="wt.htmlReports.skip" value="false" />
>
> Ant looks if the property exists, it doesn't look at the value.
>
> You can also remove
> <import file="${webtest.home}/lib/taskdef.xml"/>
> remove target testSuite, you should have wt.full as default target and
> should rename target "GermanPortalLI" to "wt.testInWork".
>
> Cheers,
> Marc.
>
>
> Alexander Mannsfeld wrote:
>
>> Hi there,
>>
>> as there are some features in the new build(1612) I'm interested in I've
>> tried migrating my old tests to the new version; works fine, except
>> reporting:
>>
>> This is a basic example:
>>
>> <?xml version="1.0"?>
>> <project name="LanguageIndependentUseCase" default="testSuite"
>> basedir=".">
>> <property name="suite.xml"
>> value="usecases/CheckJobSitesLoggedIn.xml"/>
>> <property name="suite2.xml"
>> value="usecases/CheckJobSitesLoggedOut.xml"/>
>> <property name="webtest.home" location="/opt/CanooWebTest" />
>> <property name="wt.resultpath" location="./webtest-results"/>
>> <property name="wt.resultfile" value="resultfile.xml"/>
>> <property name="wt.htmlReports.skip" value="false" />
>> <import file="${webtest.home}/lib/taskdef.xml"/>
>> <import file="${webtest.home}/webtest.xml"/>
>> <target name="testSuite" depends="GermanPortalLI,wt.htmlReports" />
>> <target name="GermanPortalLI">
>> <ant antfile="${suite.xml}">
>> <property file="properties/[LngJob]Germany.properties"/>
>> </ant>
>> </target>
>> </project>
>>
>>
>> When running this with an old build(ãround August 07) the html-reports
>> are created and stored within the "wt.resultpath";
>> when using build1612:
>>
>> ...
>>
>> INFO (com.canoo.webtest.ant.WebtestTask) - Test report successfully
>> created.
>>
>> wt.init:
>>
>> wt.htmlReports.init:
>>
>> wt.htmlReports:
>>
>> testSuite:
>>
>> BUILD SUCCESSFUL
>> Total time: 4 seconds
>>
>>
>> The sites are stored(eg when using invoke) and the resultfile.xml is
>> also there - only the report is missing - I'm quite clueless at the
>> moment, perhaps you can help me out.
>>
>> Thanks and cheers,
>>
>> Alexander
>>
>> --
>> 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
>>
>>
>>
>
>
--
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