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]

[QF-Test] Name recognition with dynamic components


  • Subject: [QF-Test] Name recognition with dynamic components
  • From: MEVEL Clement <Clement.MEVEL@?.com>
  • Date: Thu, 21 Feb 2013 12:47:44 +0000

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