GNOME Bugzilla – Bug 342791
ldtp block!
Last modified: 2006-07-06 01:55:41 UTC
Please describe the problem: run some commands after imported the ldpt moudle in time, LDTP will be blocked! Steps to reproduce: 1. confirm these conditions: exit the ldtp; close any idle process; open gedit and close all of doc or tab; 2. write these code to a file test.py by useing any texteditor (vim would be a good choice): # for testing from ldtp import * try: selectmenuitem('*-gedit', 'mnuDocuments;mnuCloseAll') except error: print 'can not be here' except LdtpExecutionError: print 'error' try: click('*gedit', 'btnNew') except: click('*gedit', 'btnNew') 3. run 'python test.py' under the CLI. Env: Ubuntu5.10 gnome2.12.1 python2.4.3 Actual results: the script blocked. Expected results: it will print 'ldtp.LdtpExecutionError: "'click failed' after 2rd click command. Does this happen every time? every Other information: sure ldtp was exited. sure all of gedit tab was close. sure run the file under the CLI. sure the same os. ?? -- this i cannt sure it will avoid this bug.