List Icon
Archiv Mailingliste

2019 bis Juli 2022  2018  | 2017 2016 2015 | 2014 | 2013

Die Mailingliste ist seit Juli 2022 geschlossen, dient aber weiterhin als Informationsarchiv zu QF-Test.
Wenn Sie aber über Neuerungen zu QF-Test informiert bleiben wollen, können Sie einfach unseren
Newsletter abonnieren

Um aktuell die Informationen zu jeder Release - auch Minor Releases - zu bekommen, können Sie den
RSS-Feed abonnieren oder uns in sozialen Medien folgen.
Alternativ bietet QF-Test auch selbst eine Versionsinformation an.

Eine weitere Informationsquelle ist unser Blog, in dem es aktuelle Beiträge zu allgemeinen Themen, zur Firma QFS und auch diverse "How-Tos" gibt:
Blog abonnieren


[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: MEVEL Clement <Clement.MEVEL@?.com>
  • Date: Wed, 27 Feb 2013 10:21:26 +0000

Sorry for the inconvenience the problem was only due to a build error...
After linking again my library it's working fine.

Thanks

Best regards


-----Original Message-----
From: Martin Moser [mailto:martin.moser@?.de]
Sent: vendredi 22 février 2013 16:10
To: 'qftest-list@?.de'
Cc: MEVEL Clement
Subject: Re: [QF-Test] Name recognition with dynamic components

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

--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 IllegalArgumentException
>
>                 {
>
>                                valueField = new JFormattedTextField();
>
>                                valueField.setName("value field of
> "+parameter.getName());
>
>                                unitLabel = new JLabel();
>
>                                unitLabel.setName("unit of "
> +parameter.getName());
>
>                                unitDisplay = UnitDisplay.SI_UNITY;
>
>
>
>                                name = new JLabel(parameter.getName());
>
>                                name.setName(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