Hi Nagappan, Thank you for your reply - so it seems I've figured the current state of affairs out correctly myself :-)
An additional comment for everyone else using pygtk: In order to change the LDTP visible object name of a widget/component, in the source for your pygtk application use e.g. paned.get_accessible().set_name('main_vpaned') and a LDTP generated name 'splt0' becomes 'spltmainvpaned'. The LDTP test scripts then can use well known object names and is less affected by UI refactorings. Thanks Christian On Sat, May 30, 2015 at 6:18 PM, Nagappan Alagappan <nagap...@gmail.com> wrote: > Hi Christian, > > On Thu, May 28, 2015 at 6:27 AM, Christian Mallwitz <c.mallw...@gmail.com> > wrote: >> >> Hi, >> >> I have a pygtk application I would like to test using LDTP 3.5 on Ubuntu. >> I was hoping I could modify the AUT source to define proper names for LDTP >> objects instead having to deal with generated appmap prefixes in the test >> code but couldn't find a way to pick up the widget names on the LDTP side - >> is there? Maybe by using AT-SPI directly (but from python)? > > > Appmap was the first implementation in LDTP, later it has been removed as > the widget information was not dynamic. > > You can try with object type with index, for example: > > if the object is push button, you can use it as btn#0. > >> >> I'm able to inspect my app using Accerciser - is there something more >> recent? > > > Accerciser is the latest one in terms of UI. >> >> >> Additionally, I keep finding references to appmap and 'remapping' objects >> in older mailing list items and blogs. Is this still relevant? How could it >> be used? > > > Its no longer supported. > > Regards > Nagappan > >> >> >> In general I would rather not create static maps of my AUT but find >> objects dynamically as I have full control of the source in order to improve >> its testability... >> >> Any useful pointers or examples? >> >> Regards >> Christian >> _______________________________________________ >> LDTP-dev mailing list >> LDTP-dev@lists.freedesktop.org >> http://lists.freedesktop.org/mailman/listinfo/ldtp-dev >> > > > > -- > Cross platform GUI testing > Linux Desktop (GUI Application) Testing Project - > http://ldtp.freedesktop.org > Cobra - Windows GUI Automation tool - https://github.com/ldtp/cobra > ATOMac - Mac GUI Automation tool - https://github.com/pyatom/pyatom > http://nagappanal.blogspot.com _______________________________________________ LDTP-dev mailing list LDTP-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/ldtp-dev