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]

Re: [QF-Test] relative path in the 'start process' dialog


  • Subject: Re: [QF-Test] relative path in the 'start process' dialog
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: 07 Dec 2007 09:44:15 +0100

Hi Urs,

QF-Test relies on Java's Process mechanism to start a sub-process
which in turn is system-specific and based on PATH. Relative path
names are possible, but are interpreted relative to the working
directory of QF-Test and not the directory of the suite. That's just
the way it is.

That's not a problem however, because there's nothing keeping you from
specifying a path relative to the current suite by simply including
${qftest:suite.dir}, i.e. use

${qftest:suite.dir}/../../Finace/bin/LoadFinaceZip.cmd

for your third variant and you should be fine.

Best regards,
    Greg

<Urs.Wiss@?.ch> writes:

> Hi,
> 
> It would be nice if in the future also a relative path could be provided for the executable property and not just an absolute path or an executable that is listed in the PATH variable.
> 
> Working example (with Z:/workspaces/projects/DIST_7/Finace/bin/ in the PATH variable)
> 
>           <ProcessClientStarter client="Import Finace Zip"
>                                 directory="../../Finace/db"
>                                 executable="LoadFinaceZip.cmd"
>                                 id="_1vj">
>             <parameter>Finace.zip</parameter>
>           </ProcessClientStarter>
> 
> Working example (absolute path)
> 
>           <ProcessClientStarter client="Import Finace Zip"
>                                 directory="../../Finace/db"
>                                 executable="Z:/workspaces/projects/DIST_7/Finace/bin/LoadFinaceZip.cmd"
>                                 id="_1vj">
>             <parameter>Finace.zip</parameter>
>           </ProcessClientStarter>
> 
> Not working example (the third line does not work currently, the location of the qft file is Z:/workspaces/projects/DIST_7/EurizonFinace/qftest)
> 
>           <ProcessClientStarter client="Import Finace Zip"
>                                 directory="../../Finace/db"
>                                 executable="../../Finace/bin/LoadFinaceZip.cmd"
>                                 id="_1vj">
>             <parameter>Finace.zip</parameter>
>           </ProcessClientStarter>
> 
> Regards, 
> 
> Urs Wiss

-- 
Gregor Schmid                                Gregor.Schmid@?.de
Quality First Software GmbH                     http://www.qfs.de
Tulpenstr. 41                                Tel: +49 8171 919870
DE-82538 Geretsried                          Fax: +49 8171 919876
GF: Gregor Schmid, Karlheinz Kellerer          HRB München 140833



Videos Downloads Documentation Buy Free Trial