[LDTP-Dev] [Bug 547572] New: component should also have a getchild method (wishlist)
LDTP (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Wed Aug 13 04:12:14 PDT 2008
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=547572
LDTP | pyldtp | Ver: 1.2.0
Summary: component should also have a getchild method (wishlist)
Product: LDTP
Version: 1.2.0
Platform: Other
OS/Version: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: pyldtp
AssignedTo: ldtp-maint at gnome.bugs
ReportedBy: apulido at gmail.com
QAContact: ldtp-dev at lists.freedesktop.org
GNOME version: Unspecified
GNOME milestone: Unspecified
Please describe the problem:
The way objects are arranged in the AT-SPI layer is very hierarchical.
It makes little sense that only context objects have a getchild method. It
would be very useful if component also had this method.
It will improve a lot the way objects can be recognized. In example, if there
are two text field without name (txt0 and txt1), and one is a child of a tab
page that do have a name, the hierarchy can be used to select the correct text
field.
This can be workaround using getobjectproperty(context, component, 'children'),
but having getchild method will improve a lot the OO structure of the script
and will allow to search the child by role.
Steps to reproduce:
This is an improvement
Actual results:
Expected results:
Does this happen every time?
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=547572.
More information about the LDTP-dev
mailing list