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 2013

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

Re: [QF-Test] Name recognition with dynamic components

  • Subject: Re: [QF-Test] Name recognition with dynamic components
  • From: Martin Moser <martin.moser@?.de>
  • Date: Fri, 22 Feb 2013 16:10:06 +0100

Hi Clement,

if QF-Test doesn't record a name the name has never been set.

Can you make sure, that parameter.getName() returns a valid name, if so
QF-Test is supposed to recognize that value?
What about the labels? What gets recorded there?

Best Regards,

--On Donnerstag, Februar 21, 2013 12:47:44 +0000 MEVEL Clement
<Clement.MEVEL@?.com> wrote:

Hi all,

I have actually dynamic components that are created using a server object.

Here is the code:


                public EpsgParameterField(EpsgParameter parameter) throws


                               valueField = new JFormattedTextField();

                               valueField.setName("value field of

                               unitLabel = new JLabel();

                               unitLabel.setName("unit of "

                               unitDisplay = UnitDisplay.SI_UNITY;

                               name = new JLabel(parameter.getName());


                               this.parameter = parameter;



I use in my QFT files only generic components recognized using names.

When I launch the client through QFT, the names are not taken into
account. QFT still record them as:

"panelDynamicParameters.text1", "panelDynamicParameters.text2" , etc...

QFT is it able to introspect the content of "parameter.getName())" to set
the name?

Any idea?

Clement Mevel

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

Videos Downloads Documentation Buy Free Trial