2017 up to now  | 2016 | 2015 | 2014 | 2013 | 2012 | 2011 | 2010 | 2009 | 2008 | 2007

(older archive entries before 2007 are not shown here, but included in the onsite-search)

Mailing List - Entries of 2012

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [QF-Test] unify log

  • Subject: Re: [QF-Test] unify log
  • From: "Robert Lahmer, QFS support" <support@?.de>
  • Date: Wed, 16 May 2012 10:13:02 +0200

Hello Brahim,

a few lines of Groovy code in a 'Server script' should do the trick:

def path = "c:/my/logs"
new File(path).eachFileMatch(~/.*\.qrl/) {
   //println it.name
   rc.addDaemonLog(it.readBytes(), it.name, null, null)

Note that the run-logs are stored in an uncompressed .qrl (XML) format. Supposed that script node has an 'Id' attribute "combine" and is contained in a test-suite combine.qft, you can run

 qftest -batch -runlog c:/my/logs/combined.qzp -test combine c:/combine.qft

from the command line to create this compound run-log.

Best regards,

--On Donnerstag, Mai 10, 2012 16:46:57 +0000 brahim tarnaoui <tarnaoui.b@?.fr> wrote:

i have to execute many test case in daemon mode, for every test-case it
generate a runlog file.this is my case:qftest -batch -compact -runlog
%logdir%\+b -calldaemon -daemonhost %remote_host% -daemonport
%remote_port% C:\test-suite.qft#test-case1qftest -batch -compact -runlog
%logdir%\+b -calldaemon -daemonhost %remote_host% -daemonport
%remote_port% C:\test-suite.qft#test-case2qftest -batch -compact -runlog
%logdir%\+b -calldaemon -daemonhost %remote_host% -daemonport
%remote_port% C:\test-suite.qft#test-case3 in result i have 3 files.
how can 'i get all the runlog in a unique file??all run log must be
append in one unique file.


Get the most out of QF-Test - through training directly from the authors
* via webinar       http://www.qfs.de/en/info/OnlineTraining_QF-Test.pdf
* here at QFS             http://www.qfs.de/en/info/Training_QF-Test.pdf
QFS Support - Robert Lahmer
Quality First Software GmbH                http://www.qfs.de
Tulpenstr. 41                         Tel: +49 8171 38648-20
DE-82538 Geretsried                   Fax: +49 8171 38648-16
GF: Gregor Schmid, Karlheinz Kellerer     HRB München 140833