Logo QF-Test

Finding valuable answers
in the Mailing List Archive.


Free Trial  Download  Buy

Thomas Max, QF-Test training and support

Use the full-text search on our web site to find helpful tips on the mailing list.

Thomas Max, 
Sr. Software Engineer & Trainer, QFS

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 2007

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

[QF-Test] starting QF-Test with eclipse (or Java)

  • Subject: [QF-Test] starting QF-Test with eclipse (or Java)
  • From: "Ghazale Malek" <ghazale.malek@?.de>
  • Date: Fri, 20 Jul 2007 09:41:26 +0200



In my java program I wrote a command line which should do the job of a Batch file. But I have difficulties to run it.


My Bach file  works as standalone perfectly. But integrated in my program I get exceptions???




qftest  -batch  -runlog /"P:/…/testprotocol/"/^%%b -report.html ^%%p"P:/…/testprotocol/test"  "P:\...\qf-test\00008.qft"



my java program take the program name out of a csv data and put it in the right place to be executed:





String cmd = "qftest  -batch  ";

cmd = cmd + "-runlog /\"P:/…/testprotocol/\"^%%b";

cmd = cmd + "-report.html^%%p \"P:/…/testprotocol/test\" ";

cmd = cmd + "\"P:\\...\\...\\...\\...\\...\\qf-test\\" + sTestFileId + ".qft\"";





I have pasted the screen shot too.


It’s a little bit tricky with the “/” ??? J


Thanks for your Help



Attachment: screenshot.doc
Description: MS-Word document

Videos Downloads Documentation Buy Free Trial