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 2012


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

Re: [QF-Test] Global properties for project


  • Subject: Re: [QF-Test] Global properties for project
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: Thu, 20 Dec 2012 23:12:01 +0100

Hello Vladimir,

I'm including the list again as the answer may be of general interest.

A group name is necessary, but you can follow the load properties node
with a server script to propagate the values to global:

props = rc.getProperties("groupname")
for k in props.keys():
    rc.setGlobal(k, props[k])

Best regards,
    Greg

Vladimir Seprak <Vladimir.Seprak@?.sk> writes:

> Ok thanks. I wrote that just before I realized that i can put load properties node in try...catch block avoiding commiting properties
> file to repository. Is there a way to avoid specifying GROUP attribute to shadow existing properties which I have without group prefix? 
>
> ________________________________________
> Od: Gregor Schmid [Gregor.Schmid@?.de]
> Odoslané: 20. decembra 2012 17:09
> Komu: qftest-list@?.de
> Kópia: Vladimir Seprak
> Predmet: Re: [QF-Test] Global properties for project
>
> Hello Vladimir,
>
> how about a properties file and a 'Load Properties' node:
>
> http://www.qfs.de/qftest/manual/en/miscnodes.html#step_LoadPropertiesStep
>
> Best regards,
>     Greg
>
> Vladimir Seprak <Vladimir.Seprak@?.sk> writes:
>
>> Hello,
>>
>> I have several global properties in my test-suite set as "Variable definitions". When I execute this test-suite as batch everything works fine because this parameters are passed via -variable xxx=yyy. Now when
>> I'm running test from QFS gui I need to pass values to these variables. I don't want to do this by simple assigning these value in test-suite variable definitions because this way they get accidentally commited into repository.
>> How can I do this? Ideal would be some property file ignored by CVS...
>>
>> Thanks.
>> Vladimir

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