Logo QF-Test

Im Archiv der Mailingliste
wertvolle Antworten finden.

 

Gratis Testen  Download  Kaufen

Thomas Max, QF-Test Training und Support

Tipp für die Recherche in der Mailingliste: Volltextsuche (oben) verwenden.

Thomas Max,
Sr. Software Engineer & Trainer, QFS

2016 bis heute 2015 | 2014 | 2013 | 2012 | 2011 2010 2009 | 2008 | 2007

(ältere Archiveinträge vor 2007 nicht dargestellt, aber in der Suche enthalten)

Mailingliste - Einträge 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

Hi,

 

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???

 

 

(Batchfile)

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:

 

(Java)

.

.

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\"";

System.out.println(cmd);

.

.

 

I have pasted the screen shot too.

 

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

 

Thanks for your Help

 

Ghazale

Attachment: screenshot.doc
Description: MS-Word document


Videos Downloads Dokumentation Kaufen Gratis Testen