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=573108
LDTP | ldtp | Ver: 1.5.0 Summary: LDTP throws an exception even though it actually performed the action. Product: LDTP Version: 1.5.0 Platform: Other OS/Version: All Status: UNCONFIRMED Severity: normal Priority: Normal Component: ldtp AssignedTo: ldtp-ma...@gnome.bugs ReportedBy: m...@lloedy.com QAContact: ldtp-dev@lists.freedesktop.org GNOME version: Unspecified GNOME milestone: Unspecified Please describe the problem: The script given in "Steps to reproduce" should end up quietly and peacefully. However it ends up in an exception, even though all requested actions were indeed performed. It ends up in an exception most of the time, but not always. Steps to reproduce: #!/usr/bin/env python from ldtp import * program_name = 'anjuta' window_title = 'frm*Anjuta*' dlgAnjutaPreferences = 'dlgAnjutaPreferences' launchapp(program_name, env=1) if not waittillguiexist(window_title): msg = 'Window does not exist' log(msg, error) raise LdtpExecutionError(msg) #print window_title #debug selectmenuitem(window_title, 'mnuEdit;mnuPreferences') wait(1) #In case the messages are not yet received uncheck(dlgAnjutaPreferences, 'chkDonotloadlastsessiononstartup') check(dlgAnjutaPreferences, 'chkDonotloadlastsessiononstartup') uncheck(dlgAnjutaPreferences, 'chkDonotloadlastprojectandfilesonstartup') check(dlgAnjutaPreferences, 'chkDonotloadlastprojectandfilesonstartup') click(dlgAnjutaPreferences, 'btnClose') #Quiting Anjuta... selectmenuitem(window_title, 'mnuFile;mnuQuit') Actual results: GTK Accessibility Module initialized Bonobo accessibility support initialized (anjuta:8476): Gtk-CRITICAL **: gtk_button_leave: assertion `GTK_IS_BUTTON (button)' failed Traceback (most recent call last): File "<stdin>", line 27, in <module> File "/usr/lib/python2.5/site-packages/ldtp.py", line 641, in selectmenuitem raise LdtpExecutionError (_responseStatus [1]) ldtplib.ldtplibutils.LdtpExecutionError: u'Select menu item failed' Expected results: No messages on stderr. Does this happen every time? Most of the time, but not always. Other information: -- 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=573108. _______________________________________________ LDTP-dev mailing list LDTP-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/ldtp-dev