[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-ldtp-dev
Subject:    [LDTP-Dev] [Bug 412965] New: The setcontext worked incomplete.
From:       bugzilla-daemon () bugzilla ! gnome ! org (LDTP (bugzilla ! gnome ! org))
Date:       2007-02-27 22:13:55
Message-ID: bug-412965-111798 () http ! bugzilla ! gnome ! org/
[Download RAW message or body]

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@gnome.bugs
        ReportedBy: xygwf@hotmail.com
         QAContact: ldtp-dev@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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic