[LDTP-Dev] [Bug 547572] Components should be exposed in a hierarchical way

LDTP (bugzilla.gnome.org) bugzilla at gnome.org
Fri Apr 9 04:30:51 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=547572
  LDTP | ldtp | 2.0.0

Ara Pulido <apulido> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #158015|none                        |needs-work
             status|                            |

--- Comment #12 from Ara Pulido <apulido at gmail.com> 2010-04-09 11:30:46 UTC ---
Review of attachment 158015:
 --> (https://bugzilla.gnome.org/review?bug=547572&attachment=158015)

Hello Nagappan,

The fix does not work.

Now, when using getchild for a Context, I get a list of strings, rather than a
list of Components

Ideally this is how it would work:

Open gedit with an unsaved documents

gedit = ooldtp.context('frm*gedit')
unsaved = gedit.getchild('ptabUnsavedDocument1')

That would return a Component for the tab and you could do:

unsaved.getchild("txt0")

to get the list of children (also, as a component)

but, currently, you get a string, which does not solves the problem

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


More information about the LDTP-dev mailing list