[LDTP-Dev] [Bug 415167] New: LDTP should recognize window or widget by any of property of its.

LDTP (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon Mar 5 19:58:24 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=415167

  LDTP | ldtp | Ver: 0.8.x

           Summary: LDTP should recognize window or widget by any of
                    property of its.
           Product: LDTP
           Version: 0.8.x
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: enhancement
          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


>From at-poke, we can see each widget has many properties on it, like position,
size, label, etc,
from appmap, we can also see each widget has other properties on it, like
index, parent, etc.
But for now, ldtp only use label to operate them, like btnNew for hasing 'New'
text on one button.

For position we think we can also test on some unknown widget, for index, we
can test
for some dynamic changing label, etc,  if only ldtp supported.


Is it convenient to add thoes feature to ldtp?



I met following issues if ldtp plan to add:)
1. For passing param as widget for componentName, how to define these
properties, like coordinate,
index, etc.

2. In one window, if there are two widgets have same child_index but the parant
are difference,
        btn0={class=push_button,parent=flr1,child_index=0}
        btn1={class=push_button,parent=flr1,child_index=2}
        btnDetails={class=push_button,parent=flr11,child_index=0,label=Details}
        btnNew={class=push_button,parent=flr11,child_index=1,label=New}
        btnGoto={class=push_button,parent=flr11,child_index=2,label=Go to}

however, for testing, we hope that we can deal with btn0 and btnDetails by
ordered index,
like click('frmtasks', 'btn#1') and click('frmtasks', 'btn#2'), so how to
resolve this problem?


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


More information about the LDTP-dev mailing list