After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 407723 - The getobjectlist work error for some dialogbox
The getobjectlist work error for some dialogbox
Status: VERIFIED FIXED
Product: LDTP
Classification: Other
Component: ldtp
unspecified
Other Linux
: Normal major
: ---
Assigned To: LDTP maintainers
LDTP Development Mailing List
Depends on:
Blocks:
 
 
Reported: 2007-02-14 03:29 UTC by lavi
Modified: 2007-02-27 07:27 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description lavi 2007-02-14 03:29:44 UTC
Step to Reproduce:
1. Open gedit, pick the File | Open... menu
2. Run ldtp.getobjectlist('dlgOpenFiles...')

Actual Result:
Unable to get object handle

Expected Result:
Get all of object which within OpenFiles dialogbox

Note:
Checked in nags's local personal ldtp.
Comment 1 Nagappan Alagappan 2007-02-14 12:29:55 UTC
Fixed in CVS.
Comment 2 lavi 2007-02-26 06:02:11 UTC
Very tnx for fixed.
Comment 3 lavi 2007-02-26 08:56:33 UTC
>>> import ldtp
>>> ldtp.getobjectlist('dlgSaveAs...')
[u'pnl1', u'tbtntt', u'mnu0', u'cboSaveinfolder', u'pnl2', u'lblName', u'tchModified', u'btnCreateFolder', u'pnl3', u'tbtnBrowseforotherfolders', u'txtName', u'tbtndownload', u'tchName', u'mnu6', u'lbltt', u'btnCancel', u'dlgSaveAs\u2026', u'btn2', u'cboAllFiles', u'mnu9', u'btn3', u'flr0', u'btnRemove', u'flr1', u'tchFolder', u'flr2', u'tbtn5', u'flr3', u'flr4', u'flr10', u'flr5', u'flr11', u'scpn0', u'flr6', u'flr12', u'flr7', u'scpn1', u'mnuWestern(ISO-8859-15)', u'flr13', u'flr8', u'flr9', u'tbtnhome', u'tblShortcuts', u'cboCharacterCoding', u'mnuCurrentLocale(UTF-8)', u'tbtnguofux', u'btnAdd', u'splt0', u'tblFiles', u'lblCurrentLocale(UTF-8)', u'pnl0', u'btnSave']
>>> ldtp.getobjectlist('dlgSaveAs...')
Traceback (most recent call last):
  • File "<pyshell#2>", line 1 in <module>
    ldtp.getobjectlist('dlgSaveAs...')
  • File "/usr/local/lib/python2.6/site-packages/ldtp.py", line 3478 in getobjectlist
    raise LdtpExecutionError (str (msg))
LdtpExecutionError: "u'getobjectlist failed: Unable to get context handle'"
>>> 


Guess it did not fix yet.
Comment 4 lavi 2007-02-27 06:37:44 UTC
verified in newly CVS, it worked fine.