[LDTP-Dev] [Bug 412965] New: The setcontext worked incomplete.

LDTP (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue Feb 27 22:15:44 PST 2007


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=412965

  LDTP | ldtp | Ver: 0.8.x

           Summary: The setcontext worked incomplete.
           Product: LDTP
           Version: 0.8.x
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: ldtp
        AssignedTo: ldtp-maint at gnome.bugs
        ReportedBy: xygwf at hotmail.com
         QAContact: ldtp-dev at lists.freedesktop.org
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Step to Reproduced:
>>> ================================ RESTART ================================
>>> import ldtp
>>> ldtp.guiexist('frmUnsavedDocument1-gedit')
1
>>> ldtp.click('frmUnsavedDocument1-gedit', 'btnNew')
1
>>> ldtp.setcontext('Unsaved Document 1 - gedit', 'Unsaved Document 2 - gedit')
1
>>> ldtp.click('frmUnsavedDocument1-gedit', 'btnNew')
1
>>> ldtp.setcontext('Unsaved Document 2 - gedit', 'Unsaved Document 3 - gedit')
1
>>> ldtp.click('frmUnsavedDocument1-gedit', 'btnNew')

Traceback (most recent call last):
  File "<pyshell#52>", line 1, in <module>
    ldtp.click('frmUnsavedDocument1-gedit', 'btnNew')
  File "/usr/local/lib/python2.6/site-packages/ldtp.py", line 1010, in click
    raise LdtpExecutionError (str (msg))
LdtpExecutionError: "u'click failed: Window does not exist'"
>>> ldtp.setcontext('Unsaved Document 1 - gedit', 'Unsaved Document 3 - gedit')
1
>>> ldtp.click('frmUnsavedDocument1-gedit', 'btnNew')
1
>>> 


Actual Result:
See the output info above

Expected Result:
Third click command should be OK and fourth should not be OK.


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email


More information about the LDTP-dev mailing list