2018 up to now | 2017 | 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] Loading Properties

  • Subject: Re: [QF-Test] Loading Properties
  • From: Martin Moser <martin.moser@?.de>
  • Date: Fri, 26 Oct 2007 10:47:01 +0200

Hi Derrik,

one possible solution would be an if-condition around the load-properties
node, which checks for one of those properties.
If it is not set, then load it, otherwise do nothing.

The setup-nodes will be executed before each test-case, that's to ensure
fulfillment of the prerequisites, so the if-pattern might a good approach.


--On Donnerstag, Oktober 25, 2007 11:26:30 -0700 Derrik Ammons
<dammons@?.COM> wrote:

I would like to load properties once.  The Test Case nodes are
independent of each other using dependency nodes, so how do I load a
property sheet that contains property values for more than one Test
Case?  Is there a way, other than keeping track myself, to load a
property sheet once, and reference the sheet to get values (i.e.
${group:name}) for multiple Test Cases?

For the Test Set, I can break up the sheets into individual Test Case
property sheets, but that would be a maintenance nightmare.  Or, I can
just load the sheet every time a test case is ran, like adding it to a
Setup node, for example.  I'm not sure if this will waste cpu cycles or
hog any memory.  Please advise.



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