La liste de diffusion est fermée depuis juillet 2022, mais sert toujours d'archive d'informations sur QF-Test.
Cependant, si vous souhaitez rester informé des nouveautés concernant QF-Test, vous pouvez simplement vous abonner à la newsletter :
abonner à la newsletter
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [QF-Test] Reg: Queries in accessing combobox methods in 'qfs.qft'
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 ------------------------------------------------------------------------------------------ Ce message et toutes les pieces jointes (ci-apres le "message")
|
1. Cookies fonctionnels
Nous utilisons des cookies fonctionnels pour garantir la fonctionnalité de base du site web.
2. Cookies de performance et de statistique
Nous utilisons Matomo pour analyser et améliorer notre site web. Des cookies permettent une collection anonyme des informations qui nous aident à vous offrir un visite clair et facile à utiliser de nos pages web.
This cookie contains a unique, pseudonymized visitor ID internal to Matomo for recognizing repeat visitors.
This cookie is used to track from which website the anonymized user proceeded to any page or sub-page.
The Matomo session cookie is used to track the visitor's page requests during the session. The cookie is automatically deleted at the end of each session (website visit), at the latest after one day.
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.