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]> 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] On Behalf Of PRASHANT SARWAL
Sent: Wednesday, March 26, 2008 4:32 AM
To: [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.
William Soula
QA Analyst
Pointserve, Inc.
110 Wild Basin Road
Suite 300
Austin, Texas 78746
O: 512.617.5311
F: 512.617.0466
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hesteric Roman -
Together SK
Sent: Tuesday, April 22, 2008 8:27 AM
To: [email protected]; lavanya palaniswamy
Subject: RE: [Webtest] Store Webtest Results in different result files
Hi,
here you are an example how to store webtest results in different folders
in Build.xml: <property name="wt.config.resultpath"
location="../target/${test.result.foldername}"/>
and than:
1. start webtest.bat -f build.xm -Dtest.result.foldername=your_folder_name1
2. start webtest.bat -f build.xm -Dtest.result.foldername=your_folder_name2
etc
Roman.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of lavanya
palaniswamy
Sent: Tuesday, April 22, 2008 3:01 PM
To: [email protected]
Subject: [Webtest] Store Webtest Results in different result files
Can anyone help me for storing webtest results each time in a different file?
>From: lavanya palaniswamy <[EMAIL PROTECTED]>
>To: [email protected]
>Sent: Tuesday, 22 April, 2008 5:43:08 PM
>Subject: [Webtest] Store Webtest Results in different result files Hi
>All, I want results to be stored in different Result files (index.html)
>in the same folder at run time using the time >stamp.Can this be done with
>Canoo?
>Thanks
>Lavanya
________________________________________
Explore your hobbies and interests. Click here to begin.
________________________________________
Explore your hobbies and interests. Click here to begin.
m7 f ) +-Y z e lq & i b jz(r +- w -
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest