Logo QF-Test

Im Archiv der Mailingliste
wertvolle Antworten finden.

 

Gratis Testen  Download  Kaufen

Thomas Max, QF-Test Training und Support

Tipp für die Recherche in der Mailingliste: Volltextsuche (oben) verwenden.

Thomas Max,
Sr. Software Engineer & Trainer, QFS

2017 bis heute 2016 2015 2014 | 2013 | 2012 | 2011 2010 2009 | 2008 | 2007

(ältere Archiveinträge vor 2007 nicht dargestellt, aber in der Suche enthalten)

Mailingliste - Einträge 2015


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

Re: [QF-Test] Reg: Queries in accessing combobox methods in 'qfs.qft'


  • Subject: Re: [QF-Test] Reg: Queries in accessing combobox methods in 'qfs.qft'
  • From: Karlheinz Kellerer <Karlheinz.Kellerer@?.de>
  • Date: Tue, 17 Feb 2015 18:45:20 +0100

Hi Arul,

The getItemCount() procedure from the qfs.qft#Swing.ComboBox
requires the QF-Test ID of the ComboBox component as parameter to be
provided.

http://www.qfs.de/include/qfs_pkgdoc/qfs_pkgdoc.html#qfs.swing.combobox.getItemCount

Hence 'com.bnpparibas.grp.MSelector...' just seems to be the Selector
button and not the ComboBox itself.

Please provide the ComboBox QF-Test ID that is the parent
component of the selector button. Please jump to the ComboBox
component (Strg-W) node to see the respective id.

Hope this helps. If not, you might want to provide a run-log and your
test-suite to support@?.de and we will take a look.

Best regards,
    Karl


arulraj.savariraj@?.com writes:

> Hi,
>
> While recording a combo box in my Java swing application , the component ID is stored as
>
> -------Wmonoselector--com.bnpparibas.grp.MSelector***************************ABCD
>         ----TextField--com.bnpparibas.grp.Txt**************************************ABCD
>         ----Button--com.bnpparibas.grp.Button.*****************************************ABCD
>
> When try to get the items count using, 'getItemCount' method in qfs.qft by giving the parameter 'id' as
> 'com.bnpparibas.grp.MSelector***************************ABCD' , I am getting the below error
>
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
>   File "C:\Program Files (x86)\qfs\qftest\qftest-4.0.2\jython\Lib\qfclient.py", line 180, in runscript
>     qfcommon.runscript(ctxt, code, exContext, dir)
>   File "C:\Program Files (x86)\qfs\qftest\qftest-4.0.2\jython\Lib\qfcommon.py", line 961, in runscript
>     exec cpl in JythonGlobals(globalDict, localDict), localDict
>   File "C:\Users\a10749\.qftest\_script7788579288099440123.py", line 3, in <module>
>     itemCount = cb.getModel().getSize()
> AttributeError: 'com.bnpparibas.frmk.whirl.widget.selector.complete' object has no attribute 'getModel'
>
> Please advice on how to get the row count and how to get the value using index.
>
> Thanks
> Arul S
>
> This message and any attachments (the "message") is
> intended solely for the intended addressees and is confidential.
> If you receive this message in error,or are not the intended recipient(s),
> please delete it and any copies from your systems and immediately notify
> the sender. Any unauthorized view, use that does not comply with its purpose,
> dissemination or disclosure, either whole or partial, is prohibited. Since the internet
> cannot guarantee the integrity of this message which may not be reliable, BNP PARIBAS
> (and its subsidiaries) shall not be liable for the message if modified, changed or falsified.
> Do not print this message unless it is necessary,consider the environment.
>
> ------------------------------------------------------------------------------------------
>
> Ce message et toutes les pieces jointes (ci-apres le "message")
> sont etablis a l'intention exclusive de ses destinataires et sont confidentiels.
> Si vous recevez ce message par erreur ou s'il ne vous est pas destine,
> merci de le detruire ainsi que toute copie de votre systeme et d'en avertir
> immediatement l'expediteur. Toute lecture non autorisee, toute utilisation de
> ce message qui n'est pas conforme a sa destination, toute diffusion ou toute
> publication, totale ou partielle, est interdite. L'Internet ne permettant pas d'assurer
> l'integrite de ce message electronique susceptible d'alteration, BNP Paribas
> (et ses filiales) decline(nt) toute responsabilite au titre de ce message dans l'hypothese
> ou il aurait ete modifie, deforme ou falsifie.
> N'imprimez ce message que si necessaire, pensez a l'environnement.
>
> _______________________________________________
> qftest-list mailing list
> qftest-list@?.de
> http://www.qfs.de/mailman/listinfo/qftest-list

--
Karlheinz Kellerer

E: karlheinz.kellerer@?.de
T: +49 (0)8171 38648-13
F: +49 (0)8171 38648-16

Quality First Software GmbH | www.qfs.de
Tulpenstr. 41 | 82538 Geretsried | Germany
GF Gregor Schmid, Karlheinz Kellerer
HRB München 140833



Videos Downloads Dokumentation Kaufen Gratis Testen