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

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?
Tel +86 10 8477 7018 | Cell +86 138 1124 3484

Videos Downloads Documentation Buy Free Trial