[LDTP-Dev] [Bug 342791] New: ldtp block!

LDTP (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed May 24 03:36:10 PDT 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=342791
 LDTP | ldtp | Ver: 0.4.x

           Summary: ldtp block!
           Product: LDTP
           Version: 0.4.x
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: blocker
          Priority: Normal
         Component: ldtp
        AssignedTo: ldtp-maint at gnome.bugs
        ReportedBy: Guofu.Xu at palmsource.com
         QAContact: ldtp-dev at lists.freedesktop.org
     GNOME version: Unspecified
   GNOME milestone: Unspecified


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.


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are watching the assignee for the bug.


More information about the LDTP-dev mailing list