Try using the tstamp task to create a property with the current time stamp and 
then use taht variable in your build.xml.  Example below:

<tstamp >
        <format property="savePath" pattern="yyyyMMdd_HHmm"/>
 </tstamp>
 <property name="wt.config.resultpath" location="${savePath}"/>

If you want to only save the last 10 results and delete ones that are older see 
this nabble thread: 
http://www.nabble.com/restrict-the-number-of-webtest-result-backups-to15350835.html#a15403695

William Soula
QA Analyst

Pointserve, Inc.
110 Wild Basin Road
Suite 300
Austin, Texas 78746
O: 512.617.5311
F: 512.617.0466


________________________________
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of PRASHANT SARWAL
Sent: Thursday, March 27, 2008 12:03 AM
To: Hesteric Roman - Together SK
Cc: [email protected]
Subject: Re: [Webtest] Fwd: Store Webtest Results in different folders

Hi All,

If I follow the below procedure, results are dumped into one folder and are 
overwritten every time a test is run.

However I want to store results in different folders at run time probably using 
the time stamp. Can we do the same in Canoo?

Kindly enlighten me on this.

Thanks and Regards,
Prashant Sarwal

On Wed, Mar 26, 2008 at 1:28 PM, Hesteric Roman - Together SK <[EMAIL 
PROTECTED]<mailto:[EMAIL PROTECTED]>> wrote:

Hi,



here you are an examle ...



Build.xml:

.

.

.

<!--        path for saving results  -->

<property name="wt.config.resultpath" location="your_folder_name"/>

<!--        the name of resultsfile -->

<property name="wt.resultfile" value="results.xml"/>

.

.

.

Regards,



Roman.



From: [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]> [mailto:[EMAIL 
PROTECTED]<mailto:[EMAIL PROTECTED]>] On Behalf Of PRASHANT SARWAL
Sent: Wednesday, March 26, 2008 4:32 AM

To: [email protected]<mailto:[email protected]>
Subject: [Webtest] Fwd: Store Webtest Results in different folders



Hi All,

I have created multiple folders under the "tests" folder in order to store 
different Use Cases and different test cases under Use Cases. However, am 
unable to store the results under the Use Cases as well. The folder structure 
is as attached.

Would request someone to please help me with this.

Thanks and Regards,
Prashant Sarwal
Error! Filename not specified.



Reply via email to