[LDTP-Dev] Object vs. Widget names

Nagappan Alagappan nagappan at gmail.com
Sat May 30 10:18:40 PDT 2015


Hi Christian,

On Thu, May 28, 2015 at 6:27 AM, Christian Mallwitz <c.mallwitz at 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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/ldtp-dev/attachments/20150530/bbbe6f20/attachment.html>


More information about the LDTP-dev mailing list