dogtail-devel [Bug 345667] New: Need Dogtail to recognize selected items in combo-boxes



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=345667
 dogtail | Framework | Ver: 0.5.x

           Summary: Need Dogtail to recognize selected items in combo-boxes
           Product: dogtail
           Version: 0.5.x
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: Framework
        AssignedTo: dogtail-maint gnome bugs
        ReportedBy: ldimaggi redhat com
         QAContact: dogtail-maint gnome bugs
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Please describe the problem:
One of the tests that I'd like to build will be to verify that data as
displayed in a GUI matches some persistent data store.

To do this, the test script will 'walk' the GUI and examine the value in each
displayed field. This works fine for fields that have a "text" attribute, but
it cannot return the currently selected value for a combo box. It looks like
Dogtail cannot determine the currently selected value.

Performing a "dump" statement on the combo box returns the following - how can
a Dogtail script determine which value is currently selected?

{child with name="observerTypeComboBox" roleName='combo box'}
 press
 Node roleName='menu' name='' description=''
  Node roleName='menu item' name='Exec Observer' description='' text=''
   click
  Node roleName='menu item' name='Fork Observer' description='' text=''
   click
  Node roleName='menu item' name='Task Terminating Observer' description=''
text=''
   click
  Node roleName='menu item' name='TaskCloneObserver' description='' text=''
   click
  Node roleName='menu item' name='Syscall Observer' description='' text=''
   click


Steps to reproduce:
1. 
2. 
3. 


Actual results:


Expected results:


Does this happen every time?


Other information:


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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]