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 2011


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

Re: [QF-Test] How to pass parameters


  • Subject: Re: [QF-Test] How to pass parameters
  • From: "Berg, Klaus-Peter" <klaus-peter.berg@?.com>
  • Date: Mon, 12 Dec 2011 11:08:30 +0100

Hi Jonny,
 
in Java it is just a java.util.Properties object, ie.,
 
Properties props = new Properties();
props.setProperty(key, value)
runTest(fullyQualifiedTestcaseName, props);
 
Best regards,
Klaus

From: qftest-list-bounces@?.de [mailto:qftest-list-bounces@?.de] On Behalf Of Sun, Peng (Johnny)
Sent: Montag, 12. Dezember 2011 08:54
To: qftest-list@?.de
Subject: [QF-Test] How to pass parameters

Hi Experts,
 
Recently, I am developing a qft which is executed in QF-Test Daemon mode.
 
As what manual says, I use "context.runTest(testcase)" to call my qft. I wonder how I can pass some parameters to the "testcase"?
 
From the manual, I've got the interface "public boolean runTest(String test, Properties bindings=None)". But I can not understand it. Can you guys give an example on that?
 
Johnny
Tel +86 10 8477 7018 | Cell +86 138 1124 3484