[LDTP-Dev] [Bug 574111] New: unable to select a menu item

LDTP (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Mar 4 08:36:25 PST 2009


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

  LDTP | ldtp | Ver: 1.5.0
           Summary: unable to select a menu item
           Product: LDTP
           Version: 1.5.0
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: blocker
          Priority: Normal
         Component: ldtp
        AssignedTo: ldtp-maint at gnome.bugs
        ReportedBy: msp at lloedy.com
         QAContact: ldtp-dev at lists.freedesktop.org
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Please describe the problem:
In the user interface of anjuta, there is a menuitem 'File->New' . There is
also a menu 'File->New'. The submenu 'File->New' has a menuitem
'File->New->2.File' .
The issue is that I am unable to select the menuitem 'File->New->2.File' .
The command ldtp.selectmenuitem('frm*Anjuta*', 'mnuFile;mnuNew;mnu2.File')
actually selects 'File->New'.
This isn't the desired behavior.
The script given it 'Steps to reproduce' demonstrates this.

Steps to reproduce:
#!/usr/bin/env python
from ldtp import *


program_name = 'anjuta'
window_title = 'frm*Anjuta*'

appundertest(program_name)
launchapp(program_name)
waittillguiexist(window_title)
selectmenuitem(window_title, 'mnuFile;mnuNew;mnu2.File')

Actual results:
The wrong menuitem 'File->New' is selected, in lieu of the expected menuitem
'File->New->2.File'

Expected results:
Menuitem 'File->New->2.File' to be selected.

Does this happen every time?
Yes.

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=574111.


More information about the LDTP-dev mailing list