[LDTP-Dev] [Bug 415167] LDTP should recognize window or widget by any of property of its.
LDTP (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Thu Aug 28 02:50:24 PDT 2008
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=415167
LDTP | ldtp | Ver: 0.8.x
lavi changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |VERIFIED
------- Comment #5 from lavi 2008-08-28 09:50 UTC -------
Oh, yes, it fixed. Congrats !!
Python 2.5.1 (r251:54863, Mar 7 2008, 04:10:12)
[GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import ldtp
ldtp>>> frm = '*-gedit'
>>> ldtp.getobjectlist(frm)
Warning: AT-SPI error: pre method check: add: Unknown CORBA exception id:
'IDL:omg.org/CORBA/COMM_FAILURE:1.0'
Warning: AT-SPI error: pre method check: add: Unknown CORBA exception id:
'IDL:omg.org/CORBA/COMM_FAILURE:1.0'
Warning: AT-SPI error: pre method check: add: Unknown CORBA exception id:
'IDL:omg.org/CORBA/COMM_FAILURE:1.0'
[u'mnuAutocheckSpelling', u'lbl', u'mnuVB.NET', u'mnuDTD', u'mnuCSS',
u'mnuPerl', u'mnuBottomPane', u'mnuEdit', u'lblDocuments', u'tchDocuments',
u'mnuFindNext', u'mnuContents', u'mnuMakefile', u'mnuIncrementalSearch',
u'stat0', u'mnuEmpty', u'btnRedo', u'mnu.desktop', u'mnuSelectAll', u'mnuDiff',
u'uknprint', u'mnuDocuments', u'mnuReportaProblem', u'ukngtk-file', u'mnuFind',
u'mnuLaTeX', u'btnclose', u'uknopen', u'mnuGAP', u'mnuC++', u'mnuVerilog',
u'ptabUnsavedDocument1', u'btnNew', u'mnuEmpty1', u'mnuHighlightMode',
u'mnuEmpty2', u'mnuTexinfo', u'mnuEmpty3', u'mnuErlang', u'mnuEmpty4', u'pnl0',
u'mnuEmpty5', u'pnl1', u'mnuEmpty6', u'pnl2', u'mnuInsertDateandTime',
u'mnuEmpty7', u'mnuPageSetup', u'pnl3', u'mnuEmpty8', u'pnl4', u'mnuEmpty9',
u'pnl5', u'pnl10', u'mnuGotoLine', u'mnuUnsavedDocument1', u'pnl6', u'pnl11',
u'pnl7', u'pnl12', u'mnuScripts', u'pnl8', u'pnl13', u'mnuOpenLocation',
u'pnl9', u'pnl14', u'mnuUndo', u'btnFind', u'pnl15', u'pnl16', u'pnl17',
u'pnl18', u'lblINS', u'pnl19', u'mbr0', u'scpn0', u'scpn1', u'mnuSaveAs',
u'mnuC#', u'statLn1,Col1', u'mnugettexttranslation', u'mnuSearch', u'btnCut',
u'flr10', u'mnupkg-config', u'mnuPascal', u'btnclose1', u'mnuCloseAll',
u'mnuCheckSpelling', u'lbl2', u'statINS', u'mnuScheme', u'mnuObjectiveCaml',
u'mnum4', u'btnUndo', u'mnuPrintPreview', u'mnuHTML',
u'mnuTranslateThisApplication', u'mnuTcl', u'mnuYacc', u'mnuChangeLog',
u'lblLn1,Col1', u'pnl20', u'ptabDocuments', u'mnuScientific', u'mnuStatusbar',
u'mnuSave', u'mnuQuit', u'mnuDPatch', u'mnuC/C++/ObjCHeader',
u'mnuClearHighlight', u'mnuIDL', u'ukndialogerror', u'mnuToolbar', u'mnuNew',
u'mnuEmpty10', u'mnuEmpty11', u'mnuEmpty12', u'mnuJava', u'tbl0', u'mnuAda',
u'mnuClose', u'mnuPHP', u'mnuSources', u'mnuSetLanguage', u'ptl0', u'ptl1',
u'mnuObjective-C', u'ukn10', u'mnuNextDocument', u'ptl2', u'mnuMSIL', u'ukn11',
u'btnSave', u'mnuJavascript', u'mnuBoo', u'mnuFortran95', u'ukn12',
u'mnuHaskell', u'mnuLua', u'mnulibtool', u'mnuGetHelpOnline', u'mnuXML',
u'mnuNone', u'tbar0', u'mnuOpen', u'mnuOCL', u'mnuCut', u'mnuGtkRC',
u'mnuSaveAll', u'mnuVHDL', u'mnuLiterateHaskell', u'mnuCopy', u'mnuMarkup',
u'mnuTools', u'mnuOthers', u'mnuC', u'ukn0', u'mnuSidePane', u'mnuD', u'ukn1',
u'mnuFile', u'mnu.ini', u'ukn2', u'mnuNemerle', u'ukn3', u'txt0', u'ukn4',
u'ukn5', u'mnuHelp', u'ukn6', u'mnuRevert', u'ukn7', u'btnPaste', u'ukn8',
u'ukn9', u'mnuAbout', u'btnOpen', u'mnuView', u'mnuPreferences',
u'mnuDocumentStatistics', u'btnPrint', u'mnuR', u'mnuRPMspec', u'mnuVala',
u'splt0', u'splt1', u'btnReplace', u'mnuPython', u'btnCopy', u'mnuawk',
u'mnush', u'mnuFindPrevious', u'flr0', u'mnuOctave', u'flr1', u'tbtn0',
u'flr2', u'mnuRedo', u'mnuDelete', u'flr3', u'mnuDocbook', u'mnuSQL', u'flr4',
u'mnuRuby', u'mnuPaste', u'flr5', u'frmUnsavedDocument1-gedit',
u'mnuMovetoNewWindow', u'flr6', u'flr7', u'mnuReplace', u'flr8',
u'mnuPreviousDocument', u'flr9', u'mnuPrint', u'uknsave']
>>> ldtp.click(frm, 'btn#1')
Warning: AT-SPI error: pre method check: add: Unknown CORBA exception id:
'IDL:omg.org/CORBA/COMM_FAILURE:1.0'
Warning: AT-SPI error: pre method check: add: Unknown CORBA exception id:
'IDL:omg.org/CORBA/COMM_FAILURE:1.0'
1
>>> ldtp.click(frm, 'btn#0')
Warning: AT-SPI error: pre method check: add: Unknown CORBA exception id:
'IDL:omg.org/CORBA/COMM_FAILURE:1.0'
Warning: AT-SPI error: pre method check: add: Unknown CORBA exception id:
'IDL:omg.org/CORBA/COMM_FAILURE:1.0'
1
>>> ldtp.click(frm, 'btn#20')
Warning: AT-SPI error: pre method check: add: Unknown CORBA exception id:
'IDL:omg.org/CORBA/COMM_FAILURE:1.0'
(ldtp:12534): GLib-CRITICAL **: g_hash_table_insert: assertion
`hash_table->ref_count > 0' failed
(ldtp:12534): GLib-CRITICAL **: g_hash_table_insert: assertion
`hash_table->ref_count > 0' failed
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "ldtp.py", line 576, in click
raise LdtpExecutionError ('click failed: ' + _responseStatus [1])
ldtplib.ldtplibutils.LdtpExecutionError: u'click failed: Unable to find object
name in application map'
>>>
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=415167.
More information about the LDTP-dev
mailing list