The mailing list has been closed since July 2022, but continues to serve as an archive of information about QF-Test.
If you want to stay informed about news about QF-Test, you can simply subscribe to our newsletter:
Subscribe to Newsletter
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] 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
|
1. Functional cookies
We use functional cookies to ensure the basic functionality of the website.
2. Performance and statistic cookies
We use Matomo for analyzing and optimizing our website. Cookies permit an anonymous collection of information that help us offering you a clear and user-friendly visit of our web pages.
This cookie contains a unique, pseudonymized visitor ID internal to Matomo for recognizing returning visitors.
This cookie is used to track from which website the anonymized user proceeded to our website.
The Matomo session cookie is used to track the visitor's page requests during the session.
is created and should be then directly deleted (used to check whether the visitor’s browser supports cookies).
short lived cookies used to temporarily store data for the visit.
short lived cookies used to temporarily store data for the visit.